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

Unified Diff: android_webview/browser/net/init_native_callback.h

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard 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/init_native_callback.h
diff --git a/android_webview/browser/net/init_native_callback.h b/android_webview/browser/net/init_native_callback.h
index 34a65c6e5ea5ee5eb8837c87ff46eb49e16479ce..a55e7d368b8ee480a0fdc96ac03ce9976b0d6f76 100644
--- a/android_webview/browser/net/init_native_callback.h
+++ b/android_webview/browser/net/init_native_callback.h
@@ -5,8 +5,9 @@
#ifndef ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
#define ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
namespace base {
class SingleThreadTaskRunner;
@@ -29,12 +30,12 @@ scoped_refptr<base::SingleThreadTaskRunner> GetCookieStoreTaskRunner();
net::CookieStore* GetCookieStore();
// Called lazily when the job factory is being constructed.
-scoped_ptr<net::URLRequestInterceptor>
- CreateAndroidAssetFileRequestInterceptor();
+std::unique_ptr<net::URLRequestInterceptor>
+CreateAndroidAssetFileRequestInterceptor();
// Called lazily when the job factory is being constructed.
-scoped_ptr<net::URLRequestInterceptor>
- CreateAndroidContentRequestInterceptor();
+std::unique_ptr<net::URLRequestInterceptor>
+CreateAndroidContentRequestInterceptor();
} // namespace android_webview
« no previous file with comments | « android_webview/browser/net/aw_web_resource_response.h ('k') | android_webview/browser/net/input_stream_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698