[MD settings] clean up enum in site_settings_behavior |
||||
Issue descriptionin https://codereview.chromium.org/2902313002/ follow-up on this request, "is there like a list or enum of potential sources somewhere we could use instead of duplicating these string literals?"
,
Jun 7 2018
Thanks for following up. Adding M-70 label for this. The WebUI team is focusing on M-69 MD Refresh work, so it is unlikely to this be addressed before that.
,
Jul 25
,
Jul 26
I don't think I'm able to work on this, but I think the fix should probably be to: - Add 'HostedApp' and 'platform_app' to settings.SiteSettingsSource in site_settings/constants.js (in lowercase, with dashes, to be consistent) - Update the 'HostedApp' string in site_settings_helper.cc - Convert 'platform_app' to 'platform-app' in the C++ (probably somewhere in site_settings_helper.cc also). Alternatively, just merge the 'hosted-app' and 'platform-app' into one SiteSettingSource - users probably don't care about the difference between these two so there isn't any need to distinguish them as separate things in the site settings UI. |
||||
►
Sign in to add a comment |
||||
Comment 1 by dschuyler@chromium.org
, Jun 7 2018