diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:17:44 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:17:44 +0000 |
commit | b7dbbec00aa43f94a078f2e5852601fb725d4b4b (patch) | |
tree | 12405dbbd5de879c940cc2b86a02ce0cb5ae8ef7 /chrome/common | |
parent | 32ba74abd684923faaa26a1e717765af07d7a7bb (diff) | |
download | chromium_src-b7dbbec00aa43f94a078f2e5852601fb725d4b4b.zip chromium_src-b7dbbec00aa43f94a078f2e5852601fb725d4b4b.tar.gz chromium_src-b7dbbec00aa43f94a078f2e5852601fb725d4b4b.tar.bz2 |
Strict transport security: add checkbox to clear state.
This patches add a checkbox to the "Clear Browsing Data" dialog which
clears the STS state when checked. Since we don't timestamp our
entries (for now at least, should we?), the duration selected has no
effect: we always clear everything.
Mac doesn't appear to have a dialog for this yet, so no Mac specific
changes.
http://codereview.chromium.org/196070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25955 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 1 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index a8afd36c..4294aaa 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -228,6 +228,7 @@ 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"; const wchar_t kDeleteFormData[] = L"browser.clear_data.form_data"; +const wchar_t kDeleteSTSState[] = L"browser.clear_data.sts_state"; const wchar_t kDeleteTimePeriod[] = L"browser.clear_data.time_period"; // Integer prefs giving the widths of the columns in the bookmark table. Two diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 7432559..80f34d5 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -81,6 +81,7 @@ extern const wchar_t kDeleteCache[]; extern const wchar_t kDeleteCookies[]; extern const wchar_t kDeletePasswords[]; extern const wchar_t kDeleteFormData[]; +extern const wchar_t kDeleteSTSState[]; extern const wchar_t kBookmarkTableNameWidth1[]; extern const wchar_t kBookmarkTableURLWidth1[]; extern const wchar_t kBookmarkTableNameWidth2[]; |