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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 110883017: Add CookieStoreConfig to unify API for in-memory and persistent CookieStore Creation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge ToT again. Created 6 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 | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl_io_data.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index 8f3a69002da9fa934c2aac6d890c7c5fe257473e..c88435989963f336a941126cf3a49972d948223a 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -11,12 +11,17 @@
#include "base/memory/ref_counted.h"
#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
#include "chrome/browser/profiles/profile_io_data.h"
+#include "content/public/browser/cookie_store_factory.h"
namespace chrome_browser_net {
class HttpServerPropertiesManager;
class Predictor;
} // namespace chrome_browser_net
+namespace content {
+class CookieCryptoDelegate;
+} // namespace content
+
namespace net {
class FtpTransactionFactory;
class HttpServerProperties;
@@ -46,7 +51,8 @@ class ProfileImplIOData : public ProfileIOData {
const base::FilePath& profile_path,
const base::FilePath& infinite_cache_path,
chrome_browser_net::Predictor* predictor,
- bool restore_old_session_cookies,
+ content::CookieStoreConfig::SessionCookieMode
+ session_cookie_mode,
quota::SpecialStoragePolicy* special_storage_policy);
// These Create*ContextGetter() functions are only exposed because the
@@ -137,7 +143,7 @@ class ProfileImplIOData : public ProfileIOData {
int media_cache_max_size;
base::FilePath extensions_cookie_path;
base::FilePath infinite_cache_path;
- bool restore_old_session_cookies;
+ content::CookieStoreConfig::SessionCookieMode session_cookie_mode;
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy;
};
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698