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

Unified Diff: content/browser/appcache/appcache_response.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
Index: content/browser/appcache/appcache_response.h
diff --git a/content/browser/appcache/appcache_response.h b/content/browser/appcache/appcache_response.h
index 0b709b9106803f62ff06e1d1c9423d2f13f419c4..ffb64416d8b728e3ef14664537a119e72235641f 100644
--- a/content/browser/appcache/appcache_response.h
+++ b/content/browser/appcache/appcache_response.h
@@ -7,9 +7,10 @@
#include <stdint.h>
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/common/appcache_interfaces.h"
#include "content/common/content_export.h"
@@ -52,7 +53,7 @@ class CONTENT_EXPORT AppCacheResponseInfo
const GURL manifest_url_;
const int64_t response_id_;
- const scoped_ptr<net::HttpResponseInfo> http_response_info_;
+ const std::unique_ptr<net::HttpResponseInfo> http_response_info_;
const int64_t response_data_size_;
AppCacheStorage* storage_;
};
@@ -61,7 +62,7 @@ class CONTENT_EXPORT AppCacheResponseInfo
// refcounting semantics used with IOBuffer with these structures too.
struct CONTENT_EXPORT HttpResponseInfoIOBuffer
: public base::RefCountedThreadSafe<HttpResponseInfoIOBuffer> {
- scoped_ptr<net::HttpResponseInfo> http_info;
+ std::unique_ptr<net::HttpResponseInfo> http_info;
int response_data_size;
HttpResponseInfoIOBuffer();
« no previous file with comments | « content/browser/appcache/appcache_request_handler_unittest.cc ('k') | content/browser/appcache/appcache_response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698