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

Unified Diff: components/sync/engine_impl/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/engine_impl/model_type_worker.h
diff --git a/components/sync/engine_impl/model_type_worker.h b/components/sync/engine_impl/model_type_worker.h
index 3f1635cc6171b3070b214b4a35de60111176048f..46a69b6560b9fac25c1fc10a39ec8bf0356dfa4c 100644
--- a/components/sync/engine_impl/model_type_worker.h
+++ b/components/sync/engine_impl/model_type_worker.h
@@ -21,7 +21,7 @@
#include "components/sync/engine_impl/commit_contributor.h"
#include "components/sync/engine_impl/nudge_handler.h"
#include "components/sync/engine_impl/update_handler.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 base {
@@ -58,7 +58,7 @@ class ModelTypeWorker : public UpdateHandler,
public CommitQueue {
public:
ModelTypeWorker(ModelType type,
- const sync_pb::DataTypeState& initial_state,
+ const sync_pb::ModelTypeState& initial_state,
std::unique_ptr<Cryptographer> cryptographer,
NudgeHandler* nudge_handler,
std::unique_ptr<ModelTypeProcessor> model_type_processor);
@@ -145,7 +145,7 @@ class ModelTypeWorker : public UpdateHandler,
ModelType type_;
// State that applies to the entire model type.
- sync_pb::DataTypeState data_type_state_;
+ sync_pb::ModelTypeState model_type_state_;
// Pointer to the ModelTypeProcessor associated with this worker. Never null.
std::unique_ptr<ModelTypeProcessor> model_type_processor_;
« no previous file with comments | « components/sync/engine_impl/model_type_registry_unittest.cc ('k') | components/sync/engine_impl/model_type_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698