Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Side by Side Diff: chrome/common/pref_names.cc

Issue 2239753002: Added a ForceYouTubeRestrict policy and deprecated the old ForceYouTubeSafetyMode policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Upped id to 347 and chrome version to 55 Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 // Boolean controlling whether history saving is disabled. 914 // Boolean controlling whether history saving is disabled.
915 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 915 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
916 916
917 // Boolean controlling whether deleting browsing and download history is 917 // Boolean controlling whether deleting browsing and download history is
918 // permitted. 918 // permitted.
919 const char kAllowDeletingBrowserHistory[] = "history.deleting_enabled"; 919 const char kAllowDeletingBrowserHistory[] = "history.deleting_enabled";
920 920
921 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. 921 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches.
922 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch"; 922 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch";
923 923
924 // Boolean controlling whether Safety Mode is mandatory on YouTube. 924 // Integer controlling whether Restrict Mode (moderate/strict) is mandatory on
Thiemo Nagel 2016/10/05 17:38:14 Nit: I'd suggest "mandatory on" --> "applied to".
ljusten (tachyonic) 2016/10/06 10:14:45 I'd like to keep it this way. 'Mandatory' is stron
925 const char kForceYouTubeSafetyMode[] = "settings.force_youtube_safety_mode"; 925 // YouTube. See |safe_search_util::YouTubeRestrictMode| for possible values.
926 const char kForceYouTubeRestrict[] = "settings.force_youtube_restrict";
926 927
927 // Boolean controlling whether history is recorded via Session Sync 928 // Boolean controlling whether history is recorded via Session Sync
928 // (for supervised users). 929 // (for supervised users).
929 const char kForceSessionSync[] = "settings.history_recorded"; 930 const char kForceSessionSync[] = "settings.history_recorded";
930 931
931 // Comma separated list of domain names (e.g. "google.com,school.edu"). 932 // Comma separated list of domain names (e.g. "google.com,school.edu").
932 // When this pref is set, the user will be able to access Google Apps 933 // When this pref is set, the user will be able to access Google Apps
933 // only using an account that belongs to one of the domains from this pref. 934 // only using an account that belongs to one of the domains from this pref.
934 const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps"; 935 const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps";
935 936
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
2252 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2253 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2253 2254
2254 // A list of origin trial features to disable by policy. 2255 // A list of origin trial features to disable by policy.
2255 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2256 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2256 2257
2257 // Policy that indicates the state of updates for the binary components. 2258 // Policy that indicates the state of updates for the binary components.
2258 const char kComponentUpdatesEnabled[] = 2259 const char kComponentUpdatesEnabled[] =
2259 "component_updates.component_updates_enabled"; 2260 "component_updates.component_updates_enabled";
2260 2261
2261 } // namespace prefs 2262 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698