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

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

Issue 2815913005: Switch to using scoped_ptr with UserData (Closed)
Patch Set: fixes Created 3 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
Index: content/browser/appcache/appcache_host.h
diff --git a/content/browser/appcache/appcache_host.h b/content/browser/appcache/appcache_host.h
index b8724945a5f0c1c8b52e9c88135de6292e88fde3..5a182815f6f1a13d9330a9a177f9988343958623 100644
--- a/content/browser/appcache/appcache_host.h
+++ b/content/browser/appcache/appcache_host.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/callback.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
@@ -113,7 +115,7 @@ class CONTENT_EXPORT AppCacheHost
// Support for loading resources out of the appcache.
// May return NULL if the request isn't subject to retrieval from an appache.
- AppCacheRequestHandler* CreateRequestHandler(
+ std::unique_ptr<AppCacheRequestHandler> CreateRequestHandler(
net::URLRequest* request,
ResourceType resource_type,
bool should_reset_appcache);

Powered by Google App Engine
This is Rietveld 408576698