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

Unified Diff: content/browser/appcache/appcache_interceptor.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_interceptor.h
diff --git a/content/browser/appcache/appcache_interceptor.h b/content/browser/appcache/appcache_interceptor.h
index a650addfc9130f00b8d21245cbdc08512c51906a..7f802d175acdba02f3d903bf0630713fd55d379c 100644
--- a/content/browser/appcache/appcache_interceptor.h
+++ b/content/browser/appcache/appcache_interceptor.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "content/common/content_export.h"
#include "content/public/common/resource_type.h"
@@ -78,7 +80,7 @@ class CONTENT_EXPORT AppCacheInterceptor : public net::URLRequestInterceptor {
private:
static void SetHandler(net::URLRequest* request,
- AppCacheRequestHandler* handler);
+ std::unique_ptr<AppCacheRequestHandler> handler);
static AppCacheRequestHandler* GetHandler(net::URLRequest* request);
DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor);

Powered by Google App Engine
This is Rietveld 408576698