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

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

Issue 2136373003: Move browsing data deletion prefs to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comment Created 4 years, 5 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/browsing_data/pref_names.h » ('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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 906
907 // A boolean pref set to true if a Home button to open the Home pages should be 907 // A boolean pref set to true if a Home button to open the Home pages should be
908 // visible on the toolbar. 908 // visible on the toolbar.
909 const char kShowHomeButton[] = "browser.show_home_button"; 909 const char kShowHomeButton[] = "browser.show_home_button";
910 910
911 // A string value which saves short list of recently user selected encodings 911 // A string value which saves short list of recently user selected encodings
912 // separated with comma punctuation mark. 912 // separated with comma punctuation mark.
913 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; 913 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings";
914 914
915 // Clear Browsing Data dialog preferences. 915 // Clear Browsing Data dialog preferences.
916 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history";
917 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history";
918 const char kDeleteCache[] = "browser.clear_data.cache";
919 const char kDeleteCookies[] = "browser.clear_data.cookies";
920 const char kDeletePasswords[] = "browser.clear_data.passwords";
921 const char kDeleteFormData[] = "browser.clear_data.form_data";
922 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data";
923 const char kDeleteMediaLicenses[] = "browser.clear_data.media_licenses";
924 const char kLastClearBrowsingDataTime[] = 916 const char kLastClearBrowsingDataTime[] =
925 "browser.last_clear_browsing_data_time"; 917 "browser.last_clear_browsing_data_time";
926 const char kClearBrowsingDataHistoryNoticeShownTimes[] = 918 const char kClearBrowsingDataHistoryNoticeShownTimes[] =
927 "browser.clear_data.history_notice_shown_times"; 919 "browser.clear_data.history_notice_shown_times";
928 920
929 // Boolean pref to define the default values for using spellchecker. 921 // Boolean pref to define the default values for using spellchecker.
930 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking"; 922 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking";
931 923
932 // Boolean pref to define the default setting for "block offensive words". 924 // Boolean pref to define the default setting for "block offensive words".
933 // The old key value is kept to avoid unnecessary migration code. 925 // The old key value is kept to avoid unnecessary migration code.
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
2250 #endif 2242 #endif
2251 2243
2252 // The base64-encoded representation of the public key to use to validate origin 2244 // The base64-encoded representation of the public key to use to validate origin
2253 // trial token signatures. 2245 // trial token signatures.
2254 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2246 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2255 2247
2256 // A list of origin trial features to disable by policy. 2248 // A list of origin trial features to disable by policy.
2257 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2249 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2258 2250
2259 } // namespace prefs 2251 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/browsing_data/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698