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

Unified Diff: extensions/browser/extension_protocols.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: extensions/browser/extension_protocols.h
diff --git a/extensions/browser/extension_protocols.h b/extensions/browser/extension_protocols.h
index 51db6e234ec115867f0a9d3b3fd39eab49117cfc..190b50fca2bf99c27a4967d4dc8e89dba5d28505 100644
--- a/extensions/browser/extension_protocols.h
+++ b/extensions/browser/extension_protocols.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/memory/scoped_ptr.h"
#include "net/url_request/url_request_job_factory.h"
namespace base {
@@ -31,9 +32,8 @@ net::HttpResponseHeaders* BuildHttpHeaders(
// Creates the handlers for the chrome-extension:// scheme. Pass true for
// |is_incognito| only for incognito profiles and not for Chrome OS guest mode
// profiles.
-net::URLRequestJobFactory::ProtocolHandler* CreateExtensionProtocolHandler(
- bool is_incognito,
- InfoMap* extension_info_map);
+scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
+CreateExtensionProtocolHandler(bool is_incognito, InfoMap* extension_info_map);
} // namespace extensions
« no previous file with comments | « content/shell/browser/shell_url_request_context_getter.cc ('k') | extensions/browser/extension_protocols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698