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

Unified Diff: sync/internal_api/sync_manager_impl.h

Issue 212603007: sync: Buffer Protocol Events for about:sync page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: sync/internal_api/sync_manager_impl.h
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h
index 71890268150dad5a1a75af71b84325a79122567a..ebdb4a8b7583ef9245fe09bdd82e6b9ce09e5558 100644
--- a/sync/internal_api/sync_manager_impl.h
+++ b/sync/internal_api/sync_manager_impl.h
@@ -19,6 +19,7 @@
#include "sync/internal_api/js_mutation_event_observer.h"
#include "sync/internal_api/js_sync_encryption_handler_observer.h"
#include "sync/internal_api/js_sync_manager_observer.h"
+#include "sync/internal_api/protocol_event_buffer.h"
#include "sync/internal_api/public/sync_manager.h"
#include "sync/internal_api/public/user_share.h"
#include "sync/internal_api/sync_encryption_handler_impl.h"
@@ -114,6 +115,8 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE;
virtual bool HasUnsyncedItems() OVERRIDE;
virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE;
+ virtual ScopedVector<syncer::ProtocolEvent>
+ GetBufferedProtocolEvents() OVERRIDE;
// SyncEncryptionHandler::Observer implementation.
virtual void OnPassphraseRequired(
@@ -354,6 +357,7 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
// This is for keeping track of client events to send to the server.
DebugInfoEventListener debug_info_event_listener_;
+ ProtocolEventBuffer protocol_event_buffer_;
TrafficRecorder traffic_recorder_;
Encryptor* encryptor_;

Powered by Google App Engine
This is Rietveld 408576698