OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/pref_font_webkit_names.h" | 9 #include "chrome/common/pref_font_webkit_names.h" |
10 | 10 |
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
930 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 930 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
931 | 931 |
932 // Boolean controlling whether deleting browsing and download history is | 932 // Boolean controlling whether deleting browsing and download history is |
933 // permitted. | 933 // permitted. |
934 const char kAllowDeletingBrowserHistory[] = "history.deleting_enabled"; | 934 const char kAllowDeletingBrowserHistory[] = "history.deleting_enabled"; |
935 | 935 |
936 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. | 936 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. |
937 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch"; | 937 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch"; |
938 | 938 |
939 // Boolean controlling whether Safety Mode is mandatory on YouTube. | 939 // Boolean controlling whether Safety Mode is mandatory on YouTube. |
940 const char kForceYouTubeSafetyMode[] = "settings.force_youtube_safety_mode"; | 940 // DEPRECATED: This on/off setting has been replaced by the more fine-grained |
Thiemo Nagel
2016/08/12 12:12:20
Same here: Just drop the constant.
ljusten (tachyonic)
2016/08/16 09:24:54
Done.
| |
941 // ForceYouTubeRestrict. If the ForceYouTubeRestrict is set, we are still | |
942 // looking for the ForceYouTubeSafetyMode policy. If it is set, we set the | |
943 // ForceYouTubeRestrict setting to MODERATE. | |
944 // const char kForceYouTubeSafetyMode[] = "settings.force_youtube_safety_mode"; | |
945 | |
946 // Integer controlling whether Restrict Mode (moderate/strict) is mandatory on | |
947 // YouTube. | |
948 const char kForceYouTubeRestrict[] = "settings.force_youtube_restrict"; | |
941 | 949 |
942 // Boolean controlling whether history is recorded via Session Sync | 950 // Boolean controlling whether history is recorded via Session Sync |
943 // (for supervised users). | 951 // (for supervised users). |
944 const char kForceSessionSync[] = "settings.history_recorded"; | 952 const char kForceSessionSync[] = "settings.history_recorded"; |
945 | 953 |
946 // Comma separated list of domain names (e.g. "google.com,school.edu"). | 954 // Comma separated list of domain names (e.g. "google.com,school.edu"). |
947 // When this pref is set, the user will be able to access Google Apps | 955 // When this pref is set, the user will be able to access Google Apps |
948 // only using an account that belongs to one of the domains from this pref. | 956 // only using an account that belongs to one of the domains from this pref. |
949 const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps"; | 957 const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps"; |
950 | 958 |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2259 #endif | 2267 #endif |
2260 | 2268 |
2261 // The base64-encoded representation of the public key to use to validate origin | 2269 // The base64-encoded representation of the public key to use to validate origin |
2262 // trial token signatures. | 2270 // trial token signatures. |
2263 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2271 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2264 | 2272 |
2265 // A list of origin trial features to disable by policy. | 2273 // A list of origin trial features to disable by policy. |
2266 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2274 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2267 | 2275 |
2268 } // namespace prefs | 2276 } // namespace prefs |
OLD | NEW |