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

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

Issue 12209091: Add a policy and pref to control whether deleting browsing and download history is allowed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Renamed policy and pref Created 7 years, 10 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
« 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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 "browser.speechinput_censor_results"; 907 "browser.speechinput_censor_results";
908 908
909 // List of speech recognition context names (extensions or websites) for which 909 // List of speech recognition context names (extensions or websites) for which
910 // the tray notification balloon has already been shown. 910 // the tray notification balloon has already been shown.
911 const char kSpeechRecognitionTrayNotificationShownContexts[] = 911 const char kSpeechRecognitionTrayNotificationShownContexts[] =
912 "browser.speechinput_tray_notification_shown_contexts"; 912 "browser.speechinput_tray_notification_shown_contexts";
913 913
914 // Boolean controlling whether history saving is disabled. 914 // Boolean controlling whether history saving is disabled.
915 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 915 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
916 916
917 // Boolean controlling whether deleting browsing and download history is
918 // permitted.
919 const char kAllowDeletingBrowserHistory[] = "history.deleting_enabled";
920
917 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. 921 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches.
918 const char kForceSafeSearch[] = "settings.force_safesearch"; 922 const char kForceSafeSearch[] = "settings.force_safesearch";
919 923
920 #if defined(TOOLKIT_GTK) 924 #if defined(TOOLKIT_GTK)
921 // GTK specific preference on whether we should match the system GTK theme. 925 // GTK specific preference on whether we should match the system GTK theme.
922 const char kUsesSystemTheme[] = "extensions.theme.use_system"; 926 const char kUsesSystemTheme[] = "extensions.theme.use_system";
923 #endif 927 #endif
924 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; 928 const char kCurrentThemePackFilename[] = "extensions.theme.pack";
925 const char kCurrentThemeID[] = "extensions.theme.id"; 929 const char kCurrentThemeID[] = "extensions.theme.id";
926 const char kCurrentThemeImages[] = "extensions.theme.images"; 930 const char kCurrentThemeImages[] = "extensions.theme.images";
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
2285 const char kRLZDisabled[] = "rlz.disabled"; 2289 const char kRLZDisabled[] = "rlz.disabled";
2286 #endif 2290 #endif
2287 2291
2288 #if defined(ENABLE_APP_LIST) 2292 #if defined(ENABLE_APP_LIST)
2289 // The directory in user data dir that contains the profile to be used with the 2293 // The directory in user data dir that contains the profile to be used with the
2290 // app launcher. 2294 // app launcher.
2291 extern const char kAppListProfile[] = "app_list.profile"; 2295 extern const char kAppListProfile[] = "app_list.profile";
2292 #endif 2296 #endif
2293 2297
2294 } // namespace prefs 2298 } // 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