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

Unified Diff: content/browser/appcache/appcache_internals_ui.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_internals_ui.h
diff --git a/content/browser/appcache/appcache_internals_ui.h b/content/browser/appcache/appcache_internals_ui.h
index f5498dbc28545899ad31ee223021c433b41fc092..f027287fc980bf63811a69d8f7f67ab580df7343 100644
--- a/content/browser/appcache/appcache_internals_ui.h
+++ b/content/browser/appcache/appcache_internals_ui.h
@@ -8,10 +8,10 @@
#include <stdint.h>
#include <list>
+#include <memory>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/appcache/appcache_group.h"
#include "content/browser/appcache/appcache_storage.h"
#include "content/browser/appcache/chrome_appcache_service.h"
@@ -71,7 +71,7 @@ class AppCacheInternalsUI : public WebUIController {
void OnResponseDataReadComplete(
const ResponseEnquiry& response_enquiry,
scoped_refptr<AppCacheResponseInfo> response_info,
- scoped_ptr<AppCacheResponseReader> reader,
+ std::unique_ptr<AppCacheResponseReader> reader,
scoped_refptr<net::IOBuffer> response_data,
int net_result_code);
void Initialize(
@@ -109,7 +109,7 @@ class AppCacheInternalsUI : public WebUIController {
void OnAppCacheDetailsReady(
const base::FilePath& partition_path,
const std::string& manifest_url,
- scoped_ptr<AppCacheResourceInfoVector> resource_info_vector);
+ std::unique_ptr<AppCacheResourceInfoVector> resource_info_vector);
void OnFileDetailsReady(const Proxy::ResponseEnquiry& response_enquiry,
scoped_refptr<AppCacheResponseInfo> response_info,
scoped_refptr<net::IOBuffer> response_data,
« no previous file with comments | « content/browser/appcache/appcache_host_unittest.cc ('k') | content/browser/appcache/appcache_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698