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

Unified Diff: components/sync/test/engine/mock_model_type_processor.h

Issue 2355993002: [Sync] Restructure ModelTypeWorkerTest to match SMTP test. (Closed)
Patch Set: Created 4 years, 3 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: components/sync/test/engine/mock_model_type_processor.h
diff --git a/components/sync/test/engine/mock_model_type_processor.h b/components/sync/test/engine/mock_model_type_processor.h
index f228eace75c1cf1268b8c43d8b3a4a1c6b7545c5..ddadba297632572280779cf5a7ec0b3087d343c0 100644
--- a/components/sync/test/engine/mock_model_type_processor.h
+++ b/components/sync/test/engine/mock_model_type_processor.h
@@ -9,6 +9,7 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include <string>
#include <vector>
@@ -73,16 +74,14 @@ class MockModelTypeProcessor : public ModelTypeProcessor {
// Does not includes repsonses that are in pending tasks.
size_t GetNumUpdateResponses() const;
UpdateResponseDataList GetNthUpdateResponse(size_t n) const;
- sync_pb::DataTypeState GetNthTypeStateReceivedInUpdateResponse(
- size_t n) const;
+ sync_pb::DataTypeState GetNthUpdateState(size_t n) const;
// Getters to access the log of received commit responses.
//
// Does not includes responses that are in pending tasks.
size_t GetNumCommitResponses() const;
CommitResponseDataList GetNthCommitResponse(size_t n) const;
- sync_pb::DataTypeState GetNthTypeStateReceivedInCommitResponse(
- size_t n) const;
+ sync_pb::DataTypeState GetNthCommitState(size_t n) const;
// Getters to access the lastest update response for a given tag_hash.
bool HasUpdateResponse(const std::string& tag_hash) const;

Powered by Google App Engine
This is Rietveld 408576698