summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-15 18:20:54 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-15 18:20:54 +0000
commitdfaa8db80cfdf7c4f04dfedf87642a0f333da0e1 (patch)
treee7a386d840a4db2b7f7195259958c5dd96533256 /chrome/common
parent57acf1f06349b991670c5cf164f1a1e6d520034f (diff)
downloadchromium_src-dfaa8db80cfdf7c4f04dfedf87642a0f333da0e1.zip
chromium_src-dfaa8db80cfdf7c4f04dfedf87642a0f333da0e1.tar.gz
chromium_src-dfaa8db80cfdf7c4f04dfedf87642a0f333da0e1.tar.bz2
Add preferences for the clear browsing data dialog so that
the user choices are persistent. Patch by Arthur Lussos <developer0420@gmail.com> Original issue at http://codereview.chromium.org/3014 Review URL: http://codereview.chromium.org/3059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/pref_names.cc9
-rw-r--r--chrome/common/pref_names.h5
2 files changed, 14 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index b664b24..9d2be21 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -193,6 +193,15 @@ const wchar_t kShowHomeButton[] = L"browser.show_home_button";
const wchar_t kRecentlySelectedEncoding[] =
L"profile.recently_selected_encodings";
+// Boolean prefs that define the default values for the check boxes in the Clear
+// Browsing Data dialog.
+const wchar_t kDeleteBrowsingHistory[] = L"browser.clear_data.browsing_history";
+const wchar_t kDeleteDownloadHistory[] =
+ L"browser.clear_data.download_history";
+const wchar_t kDeleteCache[] = L"browser.clear_data.cache";
+const wchar_t kDeleteCookies[] = L"browser.clear_data.cookies";
+const wchar_t kDeletePasswords[] = L"browser.clear_data.passwords";
+
// *************** LOCAL STATE ***************
// These are attached to the machine/installation
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index a3c4736..b8dd143 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -63,6 +63,11 @@ extern const wchar_t kDnsStartupPrefetchList[];
extern const wchar_t kIpcDisabledMessages[];
extern const wchar_t kShowHomeButton[];
extern const wchar_t kRecentlySelectedEncoding[];
+extern const wchar_t kDeleteBrowsingHistory[];
+extern const wchar_t kDeleteDownloadHistory[];
+extern const wchar_t kDeleteCache[];
+extern const wchar_t kDeleteCookies[];
+extern const wchar_t kDeletePasswords[];
// Local state
extern const wchar_t kAvailableProfiles[];