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

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

Issue 1295523006: Using scoped_ptr for URLRequestJobFactoryImpl::SetProtocolHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing un-modified file Created 5 years, 4 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_url_request_job_factory.h
diff --git a/android_webview/browser/net/aw_url_request_job_factory.h b/android_webview/browser/net/aw_url_request_job_factory.h
index 458c1b023eac387ddae490078388eb7358bf5f60..1e7f8b23bb24357c6468f3507caa91d303a09af1 100644
--- a/android_webview/browser/net/aw_url_request_job_factory.h
+++ b/android_webview/browser/net/aw_url_request_job_factory.h
@@ -26,7 +26,7 @@ class AwURLRequestJobFactory : public net::URLRequestJobFactory {
~AwURLRequestJobFactory() override;
bool SetProtocolHandler(const std::string& scheme,
- ProtocolHandler* protocol_handler);
+ scoped_ptr<ProtocolHandler> protocol_handler);
// net::URLRequestJobFactory implementation.
net::URLRequestJob* MaybeCreateJobWithProtocolHandler(

Powered by Google App Engine
This is Rietveld 408576698