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

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

Issue 24734007: Encrypt all stored cookies on selected operating systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix memory leak in test Created 7 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 | « content/public/browser/cookie_crypto_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c70d09e24e42b9f71ce8a267f74ee84f307b7641..300178ed85cfd4ca64c8ece425893a31dde93155 100644
--- a/content/public/browser/cookie_store_factory.h
+++ b/content/public/browser/cookie_store_factory.h
@@ -17,6 +17,7 @@ class SpecialStoragePolicy;
}
namespace content {
+class CookieCryptoDelegate;
// All blocking database accesses will be performed on |background_task_runner|.
// Callbacks for data load events will be performed on |client_task_runner|.
@@ -26,14 +27,16 @@ CONTENT_EXPORT net::CookieStore* CreatePersistentCookieStore(
quota::SpecialStoragePolicy* storage_policy,
net::CookieMonster::Delegate* cookie_monster_delegate,
const scoped_refptr<base::SequencedTaskRunner>& client_task_runner,
- const scoped_refptr<base::SequencedTaskRunner>& background_task_runner);
+ const scoped_refptr<base::SequencedTaskRunner>& background_task_runner,
+ scoped_ptr<CookieCryptoDelegate> crypto_delegate);
// Uses the default client_task_runner and background_task_runner.
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,
+ scoped_ptr<CookieCryptoDelegate> crypto_delegate);
} // namespace content
« no previous file with comments | « content/public/browser/cookie_crypto_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698