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

Unified Diff: components/sync/core_impl/debug_info_event_listener.h

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 4 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
« no previous file with comments | « components/sync/core_impl/DEPS ('k') | components/sync/core_impl/debug_info_event_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core_impl/debug_info_event_listener.h
diff --git a/components/sync/core_impl/debug_info_event_listener.h b/components/sync/core_impl/debug_info_event_listener.h
index 91f521c9c80b5d092c589c895eba9d5dd610c98a..cd70cb031d39bbd7a3e0b0641fd2b6fea3aca981 100644
--- a/components/sync/core_impl/debug_info_event_listener.h
+++ b/components/sync/core_impl/debug_info_event_listener.h
@@ -17,10 +17,10 @@
#include "components/sync/core/data_type_debug_info_listener.h"
#include "components/sync/core/sync_encryption_handler.h"
#include "components/sync/core/sync_manager.h"
+#include "components/sync/engine/cycle/sync_cycle_snapshot.h"
+#include "components/sync/engine_impl/cycle/debug_info_getter.h"
#include "components/sync/js/js_backend.h"
#include "components/sync/protocol/sync.pb.h"
-#include "components/sync/sessions/sync_session_snapshot.h"
-#include "components/sync/sessions_impl/debug_info_getter.h"
namespace syncer {
@@ -34,15 +34,14 @@ const unsigned int kMaxEntries = MODEL_TYPE_COUNT + 10;
// This class is not thread safe and should only be accessed on the sync thread.
class DebugInfoEventListener : public SyncManager::Observer,
public SyncEncryptionHandler::Observer,
- public sessions::DebugInfoGetter,
+ public DebugInfoGetter,
public DataTypeDebugInfoListener {
public:
DebugInfoEventListener();
~DebugInfoEventListener() override;
// SyncManager::Observer implementation.
- void OnSyncCycleCompleted(
- const sessions::SyncSessionSnapshot& snapshot) override;
+ void OnSyncCycleCompleted(const SyncCycleSnapshot& snapshot) override;
void OnInitializationComplete(
const WeakHandle<JsBackend>& js_backend,
const WeakHandle<DataTypeDebugInfoListener>& debug_listener,
« no previous file with comments | « components/sync/core_impl/DEPS ('k') | components/sync/core_impl/debug_info_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698