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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 212603007: sync: Buffer Protocol Events for about:sync page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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: chrome/browser/sync/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index a2861ef7f57ffe91a674f579d302189026d4af5f..caea2d08e4b9bb3102982f33b3b3ff10c013d7b0 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -192,8 +192,14 @@ class SyncBackendHost : public BackendDataTypeConfigurer {
// Fetches the DeviceInfo tracker.
virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const = 0;
- // Sets whether or not the frontend will be notified of network events.
- virtual void SetForwardProtocolEvents(bool forward) = 0;
+ // Requests that the backend forward to the fronent any protocol events in
+ // its buffer and begin forwarding automatically from now on. Repeated calls
+ // to this function may result in the same events being emitted several
+ // times.
+ virtual void RequestBufferedProtocolEventsAndEnableForwarding() = 0;
+
+ // Disables protocol event forwarding.
+ virtual void DisableProtocolEventForwarding() = 0;
virtual base::MessageLoop* GetSyncLoopForTesting() = 0;
« no previous file with comments | « chrome/browser/resources/sync_internals/chrome_sync.js ('k') | chrome/browser/sync/glue/sync_backend_host_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698