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

Unified Diff: content/browser/dom_storage/local_storage_database_adapter.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/dom_storage/local_storage_database_adapter.h
diff --git a/content/browser/dom_storage/local_storage_database_adapter.h b/content/browser/dom_storage/local_storage_database_adapter.h
index a8db4a3d53098122f09016b27d29c9323addd15c..77dad2d024172fee9c1f3a9d39616cedade59250 100644
--- a/content/browser/dom_storage/local_storage_database_adapter.h
+++ b/content/browser/dom_storage/local_storage_database_adapter.h
@@ -5,9 +5,10 @@
#ifndef CONTENT_BROWSER_DOM_STORAGE_LOCAL_STORAGE_DATABASE_ADAPTER_H_
#define CONTENT_BROWSER_DOM_STORAGE_LOCAL_STORAGE_DATABASE_ADAPTER_H_
+#include <memory>
+
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/dom_storage/dom_storage_database_adapter.h"
#include "content/common/content_export.h"
@@ -41,7 +42,7 @@ class CONTENT_EXPORT LocalStorageDatabaseAdapter :
FRIEND_TEST_ALL_PREFIXES(DOMStorageAreaTest, DeleteOrigin);
FRIEND_TEST_ALL_PREFIXES(DOMStorageAreaTest, PurgeMemory);
- scoped_ptr<DOMStorageDatabase> db_;
+ std::unique_ptr<DOMStorageDatabase> db_;
DISALLOW_COPY_AND_ASSIGN(LocalStorageDatabaseAdapter);
};
« no previous file with comments | « content/browser/dom_storage/dom_storage_message_filter.h ('k') | content/browser/dom_storage/session_storage_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698