Index: components/content_settings/core/browser/website_settings_info.h |
diff --git a/components/content_settings/core/browser/website_settings_info.h b/components/content_settings/core/browser/website_settings_info.h |
index 762e32e828c4e52f58a802817d527fdb920a9297..fac4d99edc59817316d2bd5056995135b70d107d 100644 |
--- a/components/content_settings/core/browser/website_settings_info.h |
+++ b/components/content_settings/core/browser/website_settings_info.h |
@@ -50,6 +50,21 @@ class WebsiteSettingsInfo { |
DONT_INHERIT_IN_INCOGNITO, |
}; |
+ enum AppliedPlatform { |
raymes
2016/05/20 19:10:16
nit: Maybe just Platform?
I wonder if we should m
lshang
2016/05/24 11:55:45
Done.
|
+ // Settings applied to all platforms, including win, mac, linux, chromeos, |
+ // android, ios. |
+ ALL_PLATFORMS, |
+ |
+ // Settings only applied to win, mac, linux and chromeos. |
+ DESKTOP_ONLY, |
+ |
+ // Settings applied to win, mac, linux, chromeos and android, but not ios. |
+ DESKTOP_AND_ANDROID_ONLY, |
+ |
+ // Settings only applied to android and chromeos. |
+ ANDROID_AND_CHROMEOS_ONLY |
+ }; |
+ |
WebsiteSettingsInfo(ContentSettingsType type, |
const std::string& name, |
std::unique_ptr<base::Value> initial_default_value, |