Index: components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.h |
diff --git a/components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.h b/components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d15bd6c0421a4d14637f5a4bde5269cbdcde4d84 |
--- /dev/null |
+++ b/components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_NON_BLOCKING_TYPE_DEBUG_INFO_EMITTER_H_ |
+#define COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_NON_BLOCKING_TYPE_DEBUG_INFO_EMITTER_H_ |
+ |
+#include "base/macros.h" |
+#include "components/sync/engine_impl/cycle/data_type_debug_info_emitter.h" |
+ |
+namespace syncer { |
+ |
+class NonBlockingTypeDebugInfoEmitter : public DataTypeDebugInfoEmitter { |
+ public: |
+ NonBlockingTypeDebugInfoEmitter( |
+ ModelType type, |
+ base::ObserverList<TypeDebugInfoObserver>* observers); |
+ |
+ ~NonBlockingTypeDebugInfoEmitter() override; |
+ |
+ // Triggers a status counters update to registered observers. |
+ void EmitStatusCountersUpdate() override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(NonBlockingTypeDebugInfoEmitter); |
+}; |
+ |
+} // namespace syncer |
+ |
+#endif // COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_NON_BLOCKING_TYPE_DEBUG_INFO_EMITTER_H_ |