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

Side by Side Diff: android_webview/browser/net/aw_url_request_job_factory.cc

Issue 1552723002: Convert Pass()→std::move() in //android_webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/aw_url_request_job_factory.h" 5 #include "android_webview/browser/net/aw_url_request_job_factory.h"
6 6
7 #include <utility>
8
7 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
8 #include "net/url_request/url_request_error_job.h" 10 #include "net/url_request/url_request_error_job.h"
9 #include "net/url_request/url_request_job_factory_impl.h" 11 #include "net/url_request/url_request_job_factory_impl.h"
10 #include "net/url_request/url_request_job_manager.h" 12 #include "net/url_request/url_request_job_manager.h"
11 13
12 using net::NetworkDelegate; 14 using net::NetworkDelegate;
13 using net::URLRequest; 15 using net::URLRequest;
14 using net::URLRequestJob; 16 using net::URLRequestJob;
15 17
16 namespace android_webview { 18 namespace android_webview {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 69
68 net::URLRequestJob* AwURLRequestJobFactory::MaybeInterceptResponse( 70 net::URLRequestJob* AwURLRequestJobFactory::MaybeInterceptResponse(
69 net::URLRequest* request, 71 net::URLRequest* request,
70 net::NetworkDelegate* network_delegate) const { 72 net::NetworkDelegate* network_delegate) const {
71 return next_factory_->MaybeInterceptResponse(request, network_delegate); 73 return next_factory_->MaybeInterceptResponse(request, network_delegate);
72 } 74 }
73 75
74 bool AwURLRequestJobFactory::SetProtocolHandler( 76 bool AwURLRequestJobFactory::SetProtocolHandler(
75 const std::string& scheme, 77 const std::string& scheme,
76 scoped_ptr<ProtocolHandler> protocol_handler) { 78 scoped_ptr<ProtocolHandler> protocol_handler) {
77 return next_factory_->SetProtocolHandler(scheme, protocol_handler.Pass()); 79 return next_factory_->SetProtocolHandler(scheme, std::move(protocol_handler));
78 } 80 }
79 81
80 bool AwURLRequestJobFactory::IsSafeRedirectTarget(const GURL& location) const { 82 bool AwURLRequestJobFactory::IsSafeRedirectTarget(const GURL& location) const {
81 return next_factory_->IsSafeRedirectTarget(location); 83 return next_factory_->IsSafeRedirectTarget(location);
82 } 84 }
83 85
84 } // namespace android_webview 86 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.cc ('k') | android_webview/browser/shared_renderer_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698