Index: net/base/cookie_monster.cc |
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc |
index fdfd77924e5cb72477a3233059c64d5d0f0e4333..1a987fe84ec823c37a84de46bd96f21e8ebec234 100644 |
--- a/net/base/cookie_monster.cc |
+++ b/net/base/cookie_monster.cc |
@@ -406,6 +406,11 @@ void CookieMonster::SetExpiryAndKeyScheme(ExpiryAndKeyScheme key_scheme) { |
expiry_and_key_scheme_ = key_scheme; |
} |
+void CookieMonster::SetClearPersistentStoreOnExit(bool clear_local_store) { |
+ if(store_) |
+ store_->SetClearLocalStateOnExit(clear_local_store); |
+} |
+ |
// The system resolution is not high enough, so we can have multiple |
// set cookies that result in the same system time. When this happens, we |
// increment by one Time unit. Let's hope computers don't get too fast. |