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

Unified Diff: android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc

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: android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc
diff --git a/android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc b/android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc
index b1932297a6b84a5f3afee20833b45371d2cb3aa9..c95f42ee674d368c10a9c0470315a937bd7391aa 100644
--- a/android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc
+++ b/android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc
@@ -4,7 +4,7 @@
#include "android_webview/browser/net/aw_cookie_store_wrapper.h"
-#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "net/cookies/cookie_store.h"
#include "net/cookies/cookie_store_test_callbacks.h"
#include "net/cookies/cookie_store_unittest.h"
@@ -13,8 +13,8 @@
namespace android_webview {
struct AwCookieStoreWrapperTestTraits {
- static scoped_refptr<net::CookieStore> Create() {
- scoped_refptr<net::CookieStore> cookie_store(new AwCookieStoreWrapper());
+ static scoped_ptr<net::CookieStore> Create() {
+ scoped_ptr<net::CookieStore> cookie_store(new AwCookieStoreWrapper());
// Android Webview can run multiple tests without restarting the binary,
// so have to delete any cookies the global store may have from an earlier
« no previous file with comments | « android_webview/browser/net/aw_cookie_store_wrapper.cc ('k') | android_webview/browser/net/aw_url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698