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

Unified Diff: sync/internal_api/public/util/proto_value_ptr_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/util/proto_value_ptr_unittest.cc
diff --git a/sync/internal_api/public/util/proto_value_ptr_unittest.cc b/sync/internal_api/public/util/proto_value_ptr_unittest.cc
index 142098048e54ee4d58a174113af8754fc50a4315..af0bcf5a0602f498d22785c7f1e14a7df76e7b59 100644
--- a/sync/internal_api/public/util/proto_value_ptr_unittest.cc
+++ b/sync/internal_api/public/util/proto_value_ptr_unittest.cc
@@ -4,10 +4,10 @@
#include "sync/internal_api/public/util/proto_value_ptr.h"
+#include <memory>
#include <utility>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
@@ -99,7 +99,7 @@ class TestValue {
static int g_parse_count;
static int g_delete_count;
- scoped_ptr<IntValue> value_;
+ std::unique_ptr<IntValue> value_;
bool is_default_;
DISALLOW_COPY_AND_ASSIGN(TestValue);

Powered by Google App Engine
This is Rietveld 408576698