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

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: Fix BrowsingDataRemover tests Created 4 years, 10 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..8903927db54ad5700ba2ff8d0a85b9ec4be01aa1 100644
--- a/content/public/browser/cookie_store_factory.h
+++ b/content/public/browser/cookie_store_factory.h
@@ -9,7 +9,7 @@
#include <vector>
#include "base/files/file_path.h"
-#include "base/memory/ref_counted.h"
davidben 2016/03/02 21:41:15 I think you still need this include due to CookieS
mmenke 2016/03/02 21:46:29 Thanks for catching that! We need to make an auto
+#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
namespace base {
@@ -95,7 +95,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