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

Side by Side 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, 1 month 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 | Annotate | Revision Log
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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 "browser.speechinput_censor_results"; 832 "browser.speechinput_censor_results";
833 833
834 // List of speech recognition context names (extensions or websites) for which 834 // List of speech recognition context names (extensions or websites) for which
835 // the tray notification balloon has already been shown. 835 // the tray notification balloon has already been shown.
836 const char kSpeechRecognitionTrayNotificationShownContexts[] = 836 const char kSpeechRecognitionTrayNotificationShownContexts[] =
837 "browser.speechinput_tray_notification_shown_contexts"; 837 "browser.speechinput_tray_notification_shown_contexts";
838 838
839 // Boolean controlling whether history saving is disabled. 839 // Boolean controlling whether history saving is disabled.
840 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 840 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
841 841
842 // 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_* :)
843 const char kForceSafeSearch[] = "settings.force_safesearch";
844
842 #if defined(TOOLKIT_GTK) 845 #if defined(TOOLKIT_GTK)
843 // GTK specific preference on whether we should match the system GTK theme. 846 // GTK specific preference on whether we should match the system GTK theme.
844 const char kUsesSystemTheme[] = "extensions.theme.use_system"; 847 const char kUsesSystemTheme[] = "extensions.theme.use_system";
845 #endif 848 #endif
846 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; 849 const char kCurrentThemePackFilename[] = "extensions.theme.pack";
847 const char kCurrentThemeID[] = "extensions.theme.id"; 850 const char kCurrentThemeID[] = "extensions.theme.id";
848 const char kCurrentThemeImages[] = "extensions.theme.images"; 851 const char kCurrentThemeImages[] = "extensions.theme.images";
849 const char kCurrentThemeColors[] = "extensions.theme.colors"; 852 const char kCurrentThemeColors[] = "extensions.theme.colors";
850 const char kCurrentThemeTints[] = "extensions.theme.tints"; 853 const char kCurrentThemeTints[] = "extensions.theme.tints";
851 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; 854 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties";
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 // Tracks the time of the last shown warning. Used to reset 2099 // Tracks the time of the last shown warning. Used to reset
2097 // |network_profile.warnings_left| after a silence period. 2100 // |network_profile.warnings_left| after a silence period.
2098 const char kNetworkProfileLastWarningTime[] = 2101 const char kNetworkProfileLastWarningTime[] =
2099 "network_profile.last_warning_time"; 2102 "network_profile.last_warning_time";
2100 2103
2101 // 64-bit serialization of the time last policy usage statistics were collected 2104 // 64-bit serialization of the time last policy usage statistics were collected
2102 // by UMA_HISTOGRAM_ENUMERATION. 2105 // by UMA_HISTOGRAM_ENUMERATION.
2103 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2106 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2104 2107
2105 } // namespace prefs 2108 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698