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

Unified Diff: chrome/common/pref_names.cc

Issue 11186002: Add a SafeSearch preference, policy and implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes suggested by comments. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index f74bfbe2f7757a426c3d6a138f21874704595fbe..fae7607df86bcb0221d109fa043d9ba7dc6b1e0b 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -839,6 +839,9 @@ const char kSpeechRecognitionTrayNotificationShownContexts[] =
// Boolean controlling whether history saving is disabled.
const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
+// Boolean controlling whether SafeSearch is forced on users.
Pam (message me for reviews) 2012/10/31 13:50:35 Perhaps "required" or "mandatory" would be more di
Sergiu 2012/11/01 18:01:52 Renamed, but the variable name is still force_* :)
+const char kForceSafeSearch[] = "settings.force_safesearch";
+
#if defined(TOOLKIT_GTK)
// GTK specific preference on whether we should match the system GTK theme.
const char kUsesSystemTheme[] = "extensions.theme.use_system";

Powered by Google App Engine
This is Rietveld 408576698