Chromium Code Reviews| 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 c5fb7154f4988cb6b1b4ff0bfd7ce7034bd4decf..3bb849cd3a71ed0bace91f9b9272d901bd186fb9 100644 |
| --- a/components/sync/engine_impl/model_type_worker.h |
| +++ b/components/sync/engine_impl/model_type_worker.h |
| @@ -19,6 +19,7 @@ |
| #include "components/sync/engine/non_blocking_sync_common.h" |
| #include "components/sync/engine/sync_encryption_handler.h" |
| #include "components/sync/engine_impl/commit_contributor.h" |
| +#include "components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.h" |
| #include "components/sync/engine_impl/nudge_handler.h" |
| #include "components/sync/engine_impl/update_handler.h" |
| #include "components/sync/protocol/model_type_state.pb.h" |
| @@ -58,6 +59,7 @@ class ModelTypeWorker : public UpdateHandler, |
| public CommitQueue { |
| public: |
| ModelTypeWorker(ModelType type, |
| + NonBlockingTypeDebugInfoEmitter* debug_info_emitter, |
|
pavely
2016/10/19 18:18:59
Could you move emitter parameter to the end of par
pavely
2016/10/19 18:18:59
Does ModelTypeWorker call any methods that are spe
Gang Wu
2016/10/20 21:35:36
Done.
Gang Wu
2016/10/20 21:35:36
Done.
|
| const sync_pb::ModelTypeState& initial_state, |
| std::unique_ptr<Cryptographer> cryptographer, |
| NudgeHandler* nudge_handler, |
| @@ -143,6 +145,7 @@ class ModelTypeWorker : public UpdateHandler, |
| WorkerEntityTracker* GetOrCreateEntityTracker(const EntityData& data); |
| ModelType type_; |
| + NonBlockingTypeDebugInfoEmitter* debug_info_emitter_; |
| // State that applies to the entire model type. |
| sync_pb::ModelTypeState model_type_state_; |