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

Unified Diff: content/public/browser/android/content_protocol_handler.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: content/public/browser/android/content_protocol_handler.h
diff --git a/content/public/browser/android/content_protocol_handler.h b/content/public/browser/android/content_protocol_handler.h
index be9473e1bb3e12cae1277bd38644dd706d8f1caa..74a564f2ae565860e910376100ffe6cf18c00510 100644
--- a/content/public/browser/android/content_protocol_handler.h
+++ b/content/public/browser/android/content_protocol_handler.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "net/url_request/url_request_job_factory.h"
@@ -20,10 +21,9 @@ class CONTENT_EXPORT ContentProtocolHandler :
public net::URLRequestJobFactory::ProtocolHandler {
public:
// Creates and returns a ContentProtocolHandler instance.
- static ContentProtocolHandler* Create(
+ static scoped_ptr<ContentProtocolHandler> Create(
const scoped_refptr<base::TaskRunner>& content_task_runner);
- protected:
~ContentProtocolHandler() override {}
};
« no previous file with comments | « content/browser/webui/url_data_manager_backend_unittest.cc ('k') | content/public/test/mock_blob_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698