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

Unified Diff: sync/internal_api/test/fake_sync_manager.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/test/fake_sync_manager.cc
diff --git a/sync/internal_api/test/fake_sync_manager.cc b/sync/internal_api/test/fake_sync_manager.cc
index 2f02a18436355f51160c5e4be884fcc1896f823b..8a96700cc4e0220d813111ad004c993e167a2d63 100644
--- a/sync/internal_api/test/fake_sync_manager.cc
+++ b/sync/internal_api/test/fake_sync_manager.cc
@@ -226,9 +226,9 @@ FakeSyncManager::GetBufferedProtocolEvents() {
return ScopedVector<syncer::ProtocolEvent>();
}
-scoped_ptr<base::ListValue> FakeSyncManager::GetAllNodesForType(
+std::unique_ptr<base::ListValue> FakeSyncManager::GetAllNodesForType(
syncer::ModelType type) {
- return scoped_ptr<base::ListValue>(new base::ListValue());
+ return std::unique_ptr<base::ListValue>(new base::ListValue());
}
void FakeSyncManager::RefreshTypes(ModelTypeSet types) {
@@ -250,7 +250,7 @@ void FakeSyncManager::RequestEmitDebugInfo() {}
void FakeSyncManager::OnIncomingInvalidation(
syncer::ModelType type,
- scoped_ptr<InvalidationInterface> invalidation) {
+ std::unique_ptr<InvalidationInterface> invalidation) {
num_invalidations_received_++;
}

Powered by Google App Engine
This is Rietveld 408576698