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

Unified Diff: android_webview/native/net_init_native_callback.cc

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/native/net_init_native_callback.cc
diff --git a/android_webview/native/net_init_native_callback.cc b/android_webview/native/net_init_native_callback.cc
index 22a245bad688daef86ba4b7895d5357d4b01a096..5b3fef3fd6c133b259ff94d684e5ec0ff714b593 100644
--- a/android_webview/native/net_init_native_callback.cc
+++ b/android_webview/native/net_init_native_callback.cc
@@ -10,12 +10,12 @@
namespace android_webview {
-scoped_ptr<net::URLRequestInterceptor>
+std::unique_ptr<net::URLRequestInterceptor>
CreateAndroidAssetFileRequestInterceptor() {
return CreateAssetFileRequestInterceptor();
}
-scoped_ptr<net::URLRequestInterceptor>
+std::unique_ptr<net::URLRequestInterceptor>
CreateAndroidContentRequestInterceptor() {
return CreateContentSchemeRequestInterceptor();
}
« no previous file with comments | « android_webview/native/java_browser_view_renderer_helper.cc ('k') | android_webview/native/permission/aw_permission_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698