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

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: Add a SafeSearch preference, policy and implementation. 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 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 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 "browser.speechinput_censor_results"; 829 "browser.speechinput_censor_results";
830 830
831 // List of speech recognition context names (extensions or websites) for which 831 // List of speech recognition context names (extensions or websites) for which
832 // the tray notification balloon has already been shown. 832 // the tray notification balloon has already been shown.
833 const char kSpeechRecognitionTrayNotificationShownContexts[] = 833 const char kSpeechRecognitionTrayNotificationShownContexts[] =
834 "browser.speechinput_tray_notification_shown_contexts"; 834 "browser.speechinput_tray_notification_shown_contexts";
835 835
836 // Boolean controlling whether history saving is disabled. 836 // Boolean controlling whether history saving is disabled.
837 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 837 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
838 838
839 // Boolean controlling whether SafeSearch is forced on users.
840 const char kSafeSearchEnabled[] = "settings.safesearch";
841
839 #if defined(TOOLKIT_GTK) 842 #if defined(TOOLKIT_GTK)
840 // GTK specific preference on whether we should match the system GTK theme. 843 // GTK specific preference on whether we should match the system GTK theme.
841 const char kUsesSystemTheme[] = "extensions.theme.use_system"; 844 const char kUsesSystemTheme[] = "extensions.theme.use_system";
842 #endif 845 #endif
843 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; 846 const char kCurrentThemePackFilename[] = "extensions.theme.pack";
844 const char kCurrentThemeID[] = "extensions.theme.id"; 847 const char kCurrentThemeID[] = "extensions.theme.id";
845 const char kCurrentThemeImages[] = "extensions.theme.images"; 848 const char kCurrentThemeImages[] = "extensions.theme.images";
846 const char kCurrentThemeColors[] = "extensions.theme.colors"; 849 const char kCurrentThemeColors[] = "extensions.theme.colors";
847 const char kCurrentThemeTints[] = "extensions.theme.tints"; 850 const char kCurrentThemeTints[] = "extensions.theme.tints";
848 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; 851 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties";
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
2088 // Tracks the time of the last shown warning. Used to reset 2091 // Tracks the time of the last shown warning. Used to reset
2089 // |network_profile.warnings_left| after a silence period. 2092 // |network_profile.warnings_left| after a silence period.
2090 const char kNetworkProfileLastWarningTime[] = 2093 const char kNetworkProfileLastWarningTime[] =
2091 "network_profile.last_warning_time"; 2094 "network_profile.last_warning_time";
2092 2095
2093 // 64-bit serialization of the time last policy usage statistics were collected 2096 // 64-bit serialization of the time last policy usage statistics were collected
2094 // by UMA_HISTOGRAM_ENUMERATION. 2097 // by UMA_HISTOGRAM_ENUMERATION.
2095 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2098 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2096 2099
2097 } // namespace prefs 2100 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698