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

Unified Diff: chrome/browser/android/chrome_application.cc

Issue 1616443003: Add FlushStore to CookieStore interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cookie_monster3
Patch Set: fix old comment Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/chrome_application.cc
diff --git a/chrome/browser/android/chrome_application.cc b/chrome/browser/android/chrome_application.cc
index 6614fc06422cc9bbac832426d99c1153c9cf7e9b..2477ed600bfbab34fe8368c7f147f7f3331667e3 100644
--- a/chrome/browser/android/chrome_application.cc
+++ b/chrome/browser/android/chrome_application.cc
@@ -22,7 +22,6 @@
#include "content/public/browser/storage_partition.h"
#include "content/public/browser/web_contents.h"
#include "jni/ChromeApplication_jni.h"
-#include "net/cookies/cookie_monster.h"
#include "net/cookies/cookie_store.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_getter.h"
@@ -34,10 +33,7 @@ namespace {
void FlushCookiesOnIOThread(
scoped_refptr<net::URLRequestContextGetter> getter) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
- getter->GetURLRequestContext()
- ->cookie_store()
- ->GetCookieMonster()
- ->FlushStore(base::Closure());
+ getter->GetURLRequestContext()->cookie_store()->FlushStore(base::Closure());
}
void FlushStoragePartition(content::StoragePartition* partition) {
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698