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

Unified Diff: sync/internal_api/public/engine/model_safe_worker_unittest.cc

Issue 1866243002: Convert //sync 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: sync/internal_api/public/engine/model_safe_worker_unittest.cc
diff --git a/sync/internal_api/public/engine/model_safe_worker_unittest.cc b/sync/internal_api/public/engine/model_safe_worker_unittest.cc
index b8f4fb2410b1e1c0949198757f2e5f237b999b04..0bb8d4775dbad5cbe443de4a24b095b214b3599c 100644
--- a/sync/internal_api/public/engine/model_safe_worker_unittest.cc
+++ b/sync/internal_api/public/engine/model_safe_worker_unittest.cc
@@ -4,7 +4,8 @@
#include "sync/internal_api/public/engine/model_safe_worker.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -25,7 +26,7 @@ TEST_F(ModelSafeWorkerTest, ModelSafeRoutingInfoToValue) {
expected_value.SetString("Bookmarks", "GROUP_PASSIVE");
expected_value.SetString("Encryption keys", "GROUP_UI");
expected_value.SetString("Preferences", "GROUP_DB");
- scoped_ptr<base::DictionaryValue> value(
+ std::unique_ptr<base::DictionaryValue> value(
ModelSafeRoutingInfoToValue(routing_info));
EXPECT_TRUE(value->Equals(&expected_value));
}

Powered by Google App Engine
This is Rietveld 408576698