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

Unified Diff: content/browser/quota/quota_manager_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_manager_unittest.cc
diff --git a/content/browser/quota/quota_manager_unittest.cc b/content/browser/quota/quota_manager_unittest.cc
index 665acd953b7259aa944f86de995fc14844d4bde9..fcf2ea854971d114dce99c7b7f69b913a0d1dac3 100644
--- a/content/browser/quota/quota_manager_unittest.cc
+++ b/content/browser/quota/quota_manager_unittest.cc
@@ -6,6 +6,7 @@
#include <stdint.h>
#include <algorithm>
+#include <memory>
#include <set>
#include <sstream>
#include <vector>
@@ -14,7 +15,7 @@
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
+#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/run_loop.h"
#include "base/stl_util.h"
@@ -1302,7 +1303,7 @@ TEST_F(QuotaManagerTest, GetAvailableSpaceTest) {
TEST_F(QuotaManagerTest, SetTemporaryStorageEvictionPolicy) {
quota_manager()->SetTemporaryStorageEvictionPolicy(
- make_scoped_ptr(new TestEvictionPolicy));
+ base::WrapUnique(new TestEvictionPolicy));
GetEvictionOrigin(kTemp);
base::RunLoop().RunUntilIdle();
« no previous file with comments | « content/browser/quota/quota_database_unittest.cc ('k') | content/browser/quota/quota_reservation_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698