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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 5430004: Refactored cookies persistent store clean-up on shutdown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lock protected the clear on exit flag. Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.h
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index e9faf59b3271d1db9e6afceaaa675740cce26f52..ddc3550911a400f05370ec430ad3defe962fd67f 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -310,6 +310,7 @@ class ChromeURLRequestContextGetter : public URLRequestContextGetter,
// ChromeURLRequestContext.
void OnAcceptLanguageChange(const std::string& accept_language);
void OnDefaultCharsetChange(const std::string& default_charset);
+ void OnClearSiteDataOnExitChange(bool clear_site_data);
// Saves the cookie store to |result| and signals |completion|.
void GetCookieStoreAsyncHelper(base::WaitableEvent* completion,
@@ -362,6 +363,7 @@ class ChromeURLRequestContextFactory {
// ApplyProfileParametersToContext().
bool is_media_;
bool is_off_the_record_;
+ bool clear_local_state_on_exit_;
std::string accept_language_;
std::string accept_charset_;
std::string referrer_charset_;
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698