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

Unified Diff: content/browser/appcache/appcache_executable_handler.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « content/browser/appcache/appcache_dispatcher_host.h ('k') | content/browser/appcache/appcache_group.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_executable_handler.h
diff --git a/content/browser/appcache/appcache_executable_handler.h b/content/browser/appcache/appcache_executable_handler.h
index 445a6cd12a3f3243aa98f165e3ec598deab068ef..a19201f27b1d071163eaa8c9a7a073bd560adef6 100644
--- a/content/browser/appcache/appcache_executable_handler.h
+++ b/content/browser/appcache/appcache_executable_handler.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_
+#include <memory>
+
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "url/gurl.h"
@@ -42,8 +43,9 @@ class CONTENT_EXPORT AppCacheExecutableHandler {
// A factory to produce instances.
class CONTENT_EXPORT AppCacheExecutableHandlerFactory {
public:
- virtual scoped_ptr<AppCacheExecutableHandler> CreateHandler(
- const GURL& handler_url, net::IOBuffer* handler_source) = 0;
+ virtual std::unique_ptr<AppCacheExecutableHandler> CreateHandler(
+ const GURL& handler_url,
+ net::IOBuffer* handler_source) = 0;
protected:
virtual ~AppCacheExecutableHandlerFactory() {}
« no previous file with comments | « content/browser/appcache/appcache_dispatcher_host.h ('k') | content/browser/appcache/appcache_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698