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

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

Issue 2420213002: [USS] Show USS counters in Types tab (Closed)
Patch Set: git 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/non_blocking_type_commit_contribution.h
diff --git a/components/sync/engine_impl/non_blocking_type_commit_contribution.h b/components/sync/engine_impl/non_blocking_type_commit_contribution.h
index 19b0797984472552b6af4b35f65718272a94537a..6832d02e63094ba9b0a6fb6e40eff2a46b199256 100644
--- a/components/sync/engine_impl/non_blocking_type_commit_contribution.h
+++ b/components/sync/engine_impl/non_blocking_type_commit_contribution.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "components/sync/engine_impl/commit_contribution.h"
+#include "components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.h"
#include "components/sync/protocol/sync.pb.h"
namespace syncer {
@@ -27,7 +28,8 @@ class NonBlockingTypeCommitContribution : public CommitContribution {
NonBlockingTypeCommitContribution(
const sync_pb::DataTypeContext& context,
const google::protobuf::RepeatedPtrField<sync_pb::SyncEntity>& entities,
- ModelTypeWorker* worker);
+ ModelTypeWorker* worker,
+ NonBlockingTypeDebugInfoEmitter* debug_info_emitter);
~NonBlockingTypeCommitContribution() override;
// Implementation of CommitContribution
@@ -56,6 +58,8 @@ class NonBlockingTypeCommitContribution : public CommitContribution {
// that CleanUp() is called before the object is destructed.
bool cleaned_up_;
+ NonBlockingTypeDebugInfoEmitter* debug_info_emitter_;
+
DISALLOW_COPY_AND_ASSIGN(NonBlockingTypeCommitContribution);
};

Powered by Google App Engine
This is Rietveld 408576698