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

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

Issue 1701063002: CookieStore: Remove reference counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@threadsafe
Patch Set: merge Created 4 years, 9 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 c478adb7d399db9d949d6fcf14922ff50f77c41b..1552342823a555cc9d6b00a900e9bd2b2bdd8c18 100644
--- a/content/public/browser/cookie_store_factory.h
+++ b/content/public/browser/cookie_store_factory.h
@@ -10,6 +10,7 @@
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
namespace base {
@@ -95,7 +96,7 @@ struct CONTENT_EXPORT CookieStoreConfig {
std::vector<std::string> cookieable_schemes;
};
-CONTENT_EXPORT net::CookieStore* CreateCookieStore(
+CONTENT_EXPORT scoped_ptr<net::CookieStore> CreateCookieStore(
const CookieStoreConfig& config);
} // namespace content
« no previous file with comments | « content/browser/net/quota_policy_cookie_store.cc ('k') | headless/lib/browser/headless_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698