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

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: Rebase and fix conflicts 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
« no previous file with comments | « sync/api/sync_data.cc ('k') | sync/api/sync_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..651601894e0b9b57b84021a70f8a6154459a09bb 100644
--- a/sync/api/sync_data_unittest.cc
+++ b/sync/api/sync_data_unittest.cc
@@ -6,6 +6,7 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include "base/memory/ref_counted_memory.h"
@@ -41,7 +42,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;
};
« no previous file with comments | « sync/api/sync_data.cc ('k') | sync/api/sync_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698