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

Unified Diff: ios/web/webui/url_data_manager_ios_backend.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
« no previous file with comments | « ios/web/shell/shell_url_request_context_getter.cc ('k') | ios/web/webui/url_data_manager_ios_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/url_data_manager_ios_backend.h
diff --git a/ios/web/webui/url_data_manager_ios_backend.h b/ios/web/webui/url_data_manager_ios_backend.h
index d5052380c1875a1749b7d2893b21b1f163ad9a17..1ad5c844572f3076dc394deb2ecda8b165936b13 100644
--- a/ios/web/webui/url_data_manager_ios_backend.h
+++ b/ios/web/webui/url_data_manager_ios_backend.h
@@ -39,8 +39,8 @@ class URLDataManagerIOSBackend : public base::SupportsUserData::Data {
// Invoked to create the protocol handler for chrome://. |is_incognito| should
// be set for incognito browser states. Called on the UI thread.
- static net::URLRequestJobFactory::ProtocolHandler* CreateProtocolHandler(
- BrowserState* browser_state);
+ static scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
+ CreateProtocolHandler(BrowserState* browser_state);
// Adds a DataSource to the collection of data sources.
void AddDataSource(URLDataSourceIOSImpl* source);
« no previous file with comments | « ios/web/shell/shell_url_request_context_getter.cc ('k') | ios/web/webui/url_data_manager_ios_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698