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

Unified Diff: components/sync/engine_impl/model_type_worker.h

Issue 2420213002: [USS] Show USS counters in Types tab (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 aefaaee6cfcd9374025b09be3ba51fcc3f3fb4f0..70f4925cef2f3d40e1c710199a844fe659c02c07 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/data_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"
@@ -61,7 +62,8 @@ class ModelTypeWorker : public UpdateHandler,
const sync_pb::ModelTypeState& initial_state,
std::unique_ptr<Cryptographer> cryptographer,
NudgeHandler* nudge_handler,
- std::unique_ptr<ModelTypeProcessor> model_type_processor);
+ std::unique_ptr<ModelTypeProcessor> model_type_processor,
+ DataTypeDebugInfoEmitter* debug_info_emitter);
~ModelTypeWorker() override;
ModelType GetModelType() const;
@@ -162,6 +164,7 @@ class ModelTypeWorker : public UpdateHandler,
WorkerEntityTracker* GetOrCreateEntityTracker(const EntityData& data);
ModelType type_;
+ DataTypeDebugInfoEmitter* debug_info_emitter_;
// State that applies to the entire model type.
sync_pb::ModelTypeState model_type_state_;
« no previous file with comments | « components/sync/engine_impl/model_type_registry.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