| Index: components/sync/core/shared_model_type_processor.h
|
| diff --git a/components/sync/core/shared_model_type_processor.h b/components/sync/core/shared_model_type_processor.h
|
| index 4be1558bcfaf07f1b3f3c937916449c769017945..09697f32e272d7e93a964081410d2c78615035e4 100644
|
| --- a/components/sync/core/shared_model_type_processor.h
|
| +++ b/components/sync/core/shared_model_type_processor.h
|
| @@ -22,6 +22,7 @@
|
| #include "components/sync/base/model_type.h"
|
| #include "components/sync/core/model_type_processor.h"
|
| #include "components/sync/core/non_blocking_sync_common.h"
|
| +#include "components/sync/engine/cycle/status_counters.h"
|
| #include "components/sync/protocol/data_type_state.pb.h"
|
| #include "components/sync/protocol/sync.pb.h"
|
|
|
| @@ -60,6 +61,14 @@ class SharedModelTypeProcessor : public ModelTypeProcessor,
|
| const base::Callback<void(const syncer::ModelType type,
|
| std::unique_ptr<base::ListValue>)>& callback);
|
|
|
| + // Returns StatusCounters for data type.
|
| + // Used for updating data type counters in chrome://sync-internals.
|
| + void GetStatusCounters(
|
| + const scoped_refptr<base::TaskRunner>& task_runner,
|
| + const base::Callback<void(syncer::ModelType,
|
| + std::unique_ptr<syncer::StatusCounters>)>
|
| + callback);
|
| +
|
| // ModelTypeChangeProcessor implementation.
|
| void Put(const std::string& storage_key,
|
| std::unique_ptr<EntityData> entity_data,
|
|
|