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

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

Issue 2401743003: Recommit and fix of "Added a ForceYouTubeRestrict policy and deprecated the old ForceYouTubeSafetyM… (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 928
929 #if !defined(OS_ANDROID) && !defined(OS_IOS) 929 #if !defined(OS_ANDROID) && !defined(OS_IOS)
930 // Whether the "Click here to clear your browsing data" tooltip promo has been 930 // Whether the "Click here to clear your browsing data" tooltip promo has been
931 // shown on the Material Design History page. 931 // shown on the Material Design History page.
932 const char kMdHistoryMenuPromoShown[] = "history.menu_promo_shown"; 932 const char kMdHistoryMenuPromoShown[] = "history.menu_promo_shown";
933 #endif 933 #endif
934 934
935 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. 935 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches.
936 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch"; 936 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch";
937 937
938 // Boolean controlling whether Safety Mode is mandatory on YouTube. 938 // Integer controlling whether Restrict Mode (moderate/strict) is mandatory on
939 const char kForceYouTubeSafetyMode[] = "settings.force_youtube_safety_mode"; 939 // YouTube. See |safe_search_util::YouTubeRestrictMode| for possible values.
940 const char kForceYouTubeRestrict[] = "settings.force_youtube_restrict";
940 941
941 // Boolean controlling whether history is recorded via Session Sync 942 // Boolean controlling whether history is recorded via Session Sync
942 // (for supervised users). 943 // (for supervised users).
943 const char kForceSessionSync[] = "settings.history_recorded"; 944 const char kForceSessionSync[] = "settings.history_recorded";
944 945
945 // Comma separated list of domain names (e.g. "google.com,school.edu"). 946 // Comma separated list of domain names (e.g. "google.com,school.edu").
946 // When this pref is set, the user will be able to access Google Apps 947 // When this pref is set, the user will be able to access Google Apps
947 // only using an account that belongs to one of the domains from this pref. 948 // only using an account that belongs to one of the domains from this pref.
948 const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps"; 949 const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps";
949 950
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
2272 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2273 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2273 2274
2274 // A list of origin trial features to disable by policy. 2275 // A list of origin trial features to disable by policy.
2275 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2276 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2276 2277
2277 // Policy that indicates the state of updates for the binary components. 2278 // Policy that indicates the state of updates for the binary components.
2278 const char kComponentUpdatesEnabled[] = 2279 const char kComponentUpdatesEnabled[] =
2279 "component_updates.component_updates_enabled"; 2280 "component_updates.component_updates_enabled";
2280 2281
2281 } // namespace prefs 2282 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698