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

Unified Diff: content/browser/appcache/appcache_group.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_group.h
diff --git a/content/browser/appcache/appcache_group.h b/content/browser/appcache/appcache_group.h
index 626deb7b0c3e6c4772f6104bb6eef25c79eccec5..c9ee22ee03ed793e84b293f6cde2c80c90bc7513 100644
--- a/content/browser/appcache/appcache_group.h
+++ b/content/browser/appcache/appcache_group.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include <utility>
#include <vector>
@@ -15,7 +16,6 @@
#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 "content/common/content_export.h"
@@ -181,7 +181,7 @@ class CONTENT_EXPORT AppCacheGroup
QueuedUpdates queued_updates_;
base::ObserverList<UpdateObserver> queued_observers_;
base::CancelableClosure restart_update_task_;
- scoped_ptr<HostObserver> host_observer_;
+ std::unique_ptr<HostObserver> host_observer_;
// True if we're in our destructor.
bool is_in_dtor_;
« no previous file with comments | « content/browser/appcache/appcache_executable_handler.h ('k') | content/browser/appcache/appcache_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698