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

Side by Side 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, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/browser/net/init_native_callback.h" 5 #include "android_webview/browser/net/init_native_callback.h"
6 6
7 #include "android_webview/browser/net/aw_url_request_job_factory.h" 7 #include "android_webview/browser/net/aw_url_request_job_factory.h"
8 #include "android_webview/native/android_protocol_handler.h" 8 #include "android_webview/native/android_protocol_handler.h"
9 #include "net/url_request/url_request_interceptor.h" 9 #include "net/url_request/url_request_interceptor.h"
10 10
11 namespace android_webview { 11 namespace android_webview {
12 12
13 scoped_ptr<net::URLRequestInterceptor> 13 std::unique_ptr<net::URLRequestInterceptor>
14 CreateAndroidAssetFileRequestInterceptor() { 14 CreateAndroidAssetFileRequestInterceptor() {
15 return CreateAssetFileRequestInterceptor(); 15 return CreateAssetFileRequestInterceptor();
16 } 16 }
17 17
18 scoped_ptr<net::URLRequestInterceptor> 18 std::unique_ptr<net::URLRequestInterceptor>
19 CreateAndroidContentRequestInterceptor() { 19 CreateAndroidContentRequestInterceptor() {
20 return CreateContentSchemeRequestInterceptor(); 20 return CreateContentSchemeRequestInterceptor();
21 } 21 }
22 22
23 } // namespace android_webview 23 } // namespace android_webview
OLDNEW
« 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