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

Unified Diff: content/browser/quota/quota_backend_impl_unittest.cc

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/quota/quota_backend_impl_unittest.cc
diff --git a/content/browser/quota/quota_backend_impl_unittest.cc b/content/browser/quota/quota_backend_impl_unittest.cc
index 5dfa037185f7a06f1a828ba158daa168d4fe1441..c77909659998404907d12407b21839bc5db93769 100644
--- a/content/browser/quota/quota_backend_impl_unittest.cc
+++ b/content/browser/quota/quota_backend_impl_unittest.cc
@@ -6,11 +6,11 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/thread_task_runner_handle.h"
#include "storage/browser/fileapi/file_system_usage_cache.h"
#include "storage/browser/fileapi/obfuscated_file_util.h"
@@ -148,11 +148,11 @@ class QuotaBackendImplTest : public testing::Test {
base::MessageLoop message_loop_;
base::ScopedTempDir data_dir_;
- scoped_ptr<leveldb::Env> in_memory_env_;
- scoped_ptr<ObfuscatedFileUtil> file_util_;
+ std::unique_ptr<leveldb::Env> in_memory_env_;
+ std::unique_ptr<ObfuscatedFileUtil> file_util_;
FileSystemUsageCache file_system_usage_cache_;
scoped_refptr<MockQuotaManagerProxy> quota_manager_proxy_;
- scoped_ptr<QuotaBackendImpl> backend_;
+ std::unique_ptr<QuotaBackendImpl> backend_;
private:
DISALLOW_COPY_AND_ASSIGN(QuotaBackendImplTest);
« no previous file with comments | « content/browser/quota/mock_quota_manager_unittest.cc ('k') | content/browser/quota/quota_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698