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

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: Minor last changes. Merged with the latest version from the tree. 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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 "browser.speechinput_censor_results"; 835 "browser.speechinput_censor_results";
836 836
837 // List of speech recognition context names (extensions or websites) for which 837 // List of speech recognition context names (extensions or websites) for which
838 // the tray notification balloon has already been shown. 838 // the tray notification balloon has already been shown.
839 const char kSpeechRecognitionTrayNotificationShownContexts[] = 839 const char kSpeechRecognitionTrayNotificationShownContexts[] =
840 "browser.speechinput_tray_notification_shown_contexts"; 840 "browser.speechinput_tray_notification_shown_contexts";
841 841
842 // Boolean controlling whether history saving is disabled. 842 // Boolean controlling whether history saving is disabled.
843 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 843 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
844 844
845 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches.
846 const char kForceSafeSearch[] = "settings.force_safesearch";
847
845 #if defined(TOOLKIT_GTK) 848 #if defined(TOOLKIT_GTK)
846 // GTK specific preference on whether we should match the system GTK theme. 849 // GTK specific preference on whether we should match the system GTK theme.
847 const char kUsesSystemTheme[] = "extensions.theme.use_system"; 850 const char kUsesSystemTheme[] = "extensions.theme.use_system";
848 #endif 851 #endif
849 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; 852 const char kCurrentThemePackFilename[] = "extensions.theme.pack";
850 const char kCurrentThemeID[] = "extensions.theme.id"; 853 const char kCurrentThemeID[] = "extensions.theme.id";
851 const char kCurrentThemeImages[] = "extensions.theme.images"; 854 const char kCurrentThemeImages[] = "extensions.theme.images";
852 const char kCurrentThemeColors[] = "extensions.theme.colors"; 855 const char kCurrentThemeColors[] = "extensions.theme.colors";
853 const char kCurrentThemeTints[] = "extensions.theme.tints"; 856 const char kCurrentThemeTints[] = "extensions.theme.tints";
854 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; 857 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties";
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2131 // Tracks the time of the last shown warning. Used to reset 2134 // Tracks the time of the last shown warning. Used to reset
2132 // |network_profile.warnings_left| after a silence period. 2135 // |network_profile.warnings_left| after a silence period.
2133 const char kNetworkProfileLastWarningTime[] = 2136 const char kNetworkProfileLastWarningTime[] =
2134 "network_profile.last_warning_time"; 2137 "network_profile.last_warning_time";
2135 2138
2136 // 64-bit serialization of the time last policy usage statistics were collected 2139 // 64-bit serialization of the time last policy usage statistics were collected
2137 // by UMA_HISTOGRAM_ENUMERATION. 2140 // by UMA_HISTOGRAM_ENUMERATION.
2138 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2141 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2139 2142
2140 } // namespace prefs 2143 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698