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

Unified Diff: sync/api/sync_data_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/api/sync_data_unittest.cc
diff --git a/sync/api/sync_data_unittest.cc b/sync/api/sync_data_unittest.cc
index 020adec8f3399dbfae30d5411ee6575500ce1e21..38f2be43f398bec70c3f232c5b7e01ed3c8757f6 100644
--- a/sync/api/sync_data_unittest.cc
+++ b/sync/api/sync_data_unittest.cc
@@ -41,7 +41,7 @@ class SyncDataTest : public testing::Test {
attachment_service_weak_ptr_factory.GetWeakPtr()) {}
base::MessageLoop loop;
sync_pb::EntitySpecifics specifics;
- scoped_ptr<AttachmentService> attachment_service;
+ std::unique_ptr<AttachmentService> attachment_service;
base::WeakPtrFactory<AttachmentService> attachment_service_weak_ptr_factory;
AttachmentServiceProxy attachment_service_proxy;
};

Powered by Google App Engine
This is Rietveld 408576698