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

Unified Diff: content/browser/appcache/appcache_service_impl.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_service_impl.h
diff --git a/content/browser/appcache/appcache_service_impl.h b/content/browser/appcache/appcache_service_impl.h
index acc660f7ae20e17533dd03dbcebf9ebfeea5684b..fbebf97e405fd2c1a7d3ee23db4cdd2d53d8a283 100644
--- a/content/browser/appcache/appcache_service_impl.h
+++ b/content/browser/appcache/appcache_service_impl.h
@@ -8,12 +8,12 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include <set>
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
@@ -56,10 +56,10 @@ public:
private:
friend class AppCacheServiceImpl;
friend class base::RefCounted<AppCacheStorageReference>;
- AppCacheStorageReference(scoped_ptr<AppCacheStorage> storage);
+ AppCacheStorageReference(std::unique_ptr<AppCacheStorage> storage);
~AppCacheStorageReference();
- scoped_ptr<AppCacheStorage> storage_;
+ std::unique_ptr<AppCacheStorage> storage_;
};
// Class that manages the application cache service. Sends notifications
@@ -203,7 +203,7 @@ class CONTENT_EXPORT AppCacheServiceImpl
AppCachePolicy* appcache_policy_;
AppCacheQuotaClient* quota_client_;
AppCacheExecutableHandlerFactory* handler_factory_;
- scoped_ptr<AppCacheStorage> storage_;
+ std::unique_ptr<AppCacheStorage> storage_;
scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_;
scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_;
PendingAsyncHelpers pending_helpers_;
« no previous file with comments | « content/browser/appcache/appcache_response_unittest.cc ('k') | content/browser/appcache/appcache_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698