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

Unified Diff: content/public/browser/cookie_store_factory.h

Issue 23964011: Reuse webview classic cookies file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fix Created 7 years, 3 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
Index: content/public/browser/cookie_store_factory.h
diff --git a/content/public/browser/cookie_store_factory.h b/content/public/browser/cookie_store_factory.h
index c7a9c6eb4172ee576529f5b756dd7efc638893df..90a53fb54dda5d57f6ffb13e60252fcb8935f17c 100644
--- a/content/public/browser/cookie_store_factory.h
+++ b/content/public/browser/cookie_store_factory.h
@@ -18,11 +18,17 @@ class SpecialStoragePolicy;
namespace content {
+// All blocking database accesses will be performed on
+// |background_task_runner|, while |client_task_runner| is used to invoke
+// callbacks.
CONTENT_EXPORT net::CookieStore* CreatePersistentCookieStore(
const base::FilePath& path,
bool restore_old_session_cookies,
quota::SpecialStoragePolicy* storage_policy,
- net::CookieMonster::Delegate* cookie_monster_delegate);
+ net::CookieMonster::Delegate* cookie_monster_delegate,
+ const scoped_refptr<base::SequencedTaskRunner>& client_task_runner,
+ const scoped_refptr<base::SequencedTaskRunner>& background_task_runner);
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698