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

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

Issue 2394573002: [Sync] Rename DataTypeState to ModelTypeState. (Closed)
Patch Set: Rebase. Created 4 years, 2 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_worker.h
diff --git a/components/sync/test/engine/mock_model_type_worker.h b/components/sync/test/engine/mock_model_type_worker.h
index 16c6ef63b87ae5be8db9a098095645dfed719fc3..2d5a2fd8df2dff0c3dc6eec061bcf4ca45713f1f 100644
--- a/components/sync/test/engine/mock_model_type_worker.h
+++ b/components/sync/test/engine/mock_model_type_worker.h
@@ -17,7 +17,7 @@
#include "components/sync/core/model_type_processor.h"
#include "components/sync/core/non_blocking_sync_common.h"
#include "components/sync/engine/commit_queue.h"
-#include "components/sync/protocol/data_type_state.pb.h"
+#include "components/sync/protocol/model_type_state.pb.h"
#include "components/sync/protocol/sync.pb.h"
namespace syncer {
@@ -29,7 +29,7 @@ namespace syncer {
// plausible UpdateResponseData and CommitResponseData messages.
class MockModelTypeWorker : public CommitQueue {
public:
- MockModelTypeWorker(const sync_pb::DataTypeState& data_type_state,
+ MockModelTypeWorker(const sync_pb::ModelTypeState& model_type_state,
ModelTypeProcessor* processor);
~MockModelTypeWorker() override;
@@ -108,7 +108,7 @@ class MockModelTypeWorker : public CommitQueue {
int64_t GetServerVersion(const std::string& tag_hash);
void SetServerVersion(const std::string& tag_hash, int64_t version);
- sync_pb::DataTypeState data_type_state_;
+ sync_pb::ModelTypeState model_type_state_;
// A pointer to the processor for this mock worker.
ModelTypeProcessor* processor_;
« no previous file with comments | « components/sync/test/engine/mock_model_type_processor.cc ('k') | components/sync/test/engine/mock_model_type_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698