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

Unified Diff: sync/test/engine/mock_model_type_processor.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_model_type_processor.h
diff --git a/sync/test/engine/mock_model_type_processor.h b/sync/test/engine/mock_model_type_processor.h
index 372fd9089caa90192101fe1f2fb03834f2f31944..e129ec884529f9e4399842a8ae40f80a628b578f 100644
--- a/sync/test/engine/mock_model_type_processor.h
+++ b/sync/test/engine/mock_model_type_processor.h
@@ -39,7 +39,7 @@ class MockModelTypeProcessor : public ModelTypeProcessor {
~MockModelTypeProcessor() override;
// Implementation of ModelTypeProcessor.
- void ConnectSync(scoped_ptr<CommitQueue> commit_queue) override;
+ void ConnectSync(std::unique_ptr<CommitQueue> commit_queue) override;
void DisconnectSync() override;
void OnCommitCompleted(const sync_pb::DataTypeState& type_state,
const CommitResponseDataList& response_list) override;
@@ -124,7 +124,7 @@ class MockModelTypeProcessor : public ModelTypeProcessor {
// See SetSynchronousExecution() for details.
bool is_synchronous_;
std::vector<base::Closure> pending_tasks_;
- scoped_ptr<CommitQueue> commit_queue_;
+ std::unique_ptr<CommitQueue> commit_queue_;
// A log of messages received by this object.
std::vector<CommitResponseDataList> received_commit_responses_;

Powered by Google App Engine
This is Rietveld 408576698