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

Unified Diff: sync/test/engine/mock_connection_manager.h

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/test/engine/mock_connection_manager.h
diff --git a/sync/test/engine/mock_connection_manager.h b/sync/test/engine/mock_connection_manager.h
index 03baff3ebb6567512e9d6bfa16b86f6a57c3395c..a47c4b30b17f4c3a435994f22552900147ab3262 100644
--- a/sync/test/engine/mock_connection_manager.h
+++ b/sync/test/engine/mock_connection_manager.h
@@ -394,8 +394,8 @@ class MockConnectionManager : public ServerConnectionManager {
// True if we are only accepting GetUpdatesCallerInfo::PERIODIC requests.
bool fail_non_periodic_get_updates_;
- scoped_ptr<sync_pb::ClientCommand> gu_client_command_;
- scoped_ptr<sync_pb::ClientCommand> commit_client_command_;
+ std::unique_ptr<sync_pb::ClientCommand> gu_client_command_;
+ std::unique_ptr<sync_pb::ClientCommand> commit_client_command_;
// The next value to use for the position_in_parent property.
int64_t next_position_in_parent_;

Powered by Google App Engine
This is Rietveld 408576698