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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/browser/cookie_crypto_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_
6 #define CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_ 6 #define CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "net/cookies/cookie_monster.h" 9 #include "net/cookies/cookie_monster.h"
10 10
11 namespace base { 11 namespace base {
12 class FilePath; 12 class FilePath;
13 } 13 }
14 14
15 namespace quota { 15 namespace quota {
16 class SpecialStoragePolicy; 16 class SpecialStoragePolicy;
17 } 17 }
18 18
19 namespace content { 19 namespace content {
20 class CookieCryptoDelegate;
20 21
21 // All blocking database accesses will be performed on |background_task_runner|. 22 // All blocking database accesses will be performed on |background_task_runner|.
22 // Callbacks for data load events will be performed on |client_task_runner|. 23 // Callbacks for data load events will be performed on |client_task_runner|.
23 CONTENT_EXPORT net::CookieStore* CreatePersistentCookieStore( 24 CONTENT_EXPORT net::CookieStore* CreatePersistentCookieStore(
24 const base::FilePath& path, 25 const base::FilePath& path,
25 bool restore_old_session_cookies, 26 bool restore_old_session_cookies,
26 quota::SpecialStoragePolicy* storage_policy, 27 quota::SpecialStoragePolicy* storage_policy,
27 net::CookieMonster::Delegate* cookie_monster_delegate, 28 net::CookieMonster::Delegate* cookie_monster_delegate,
28 const scoped_refptr<base::SequencedTaskRunner>& client_task_runner, 29 const scoped_refptr<base::SequencedTaskRunner>& client_task_runner,
29 const scoped_refptr<base::SequencedTaskRunner>& background_task_runner); 30 const scoped_refptr<base::SequencedTaskRunner>& background_task_runner,
31 scoped_ptr<CookieCryptoDelegate> crypto_delegate);
30 32
31 // Uses the default client_task_runner and background_task_runner. 33 // Uses the default client_task_runner and background_task_runner.
32 CONTENT_EXPORT net::CookieStore* CreatePersistentCookieStore( 34 CONTENT_EXPORT net::CookieStore* CreatePersistentCookieStore(
33 const base::FilePath& path, 35 const base::FilePath& path,
34 bool restore_old_session_cookies, 36 bool restore_old_session_cookies,
35 quota::SpecialStoragePolicy* storage_policy, 37 quota::SpecialStoragePolicy* storage_policy,
36 net::CookieMonster::Delegate* cookie_monster_delegate); 38 net::CookieMonster::Delegate* cookie_monster_delegate,
39 scoped_ptr<CookieCryptoDelegate> crypto_delegate);
37 40
38 } // namespace content 41 } // namespace content
39 42
40 #endif // CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_ 43 #endif // CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_
OLDNEW
« 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