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

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

Issue 224563004: sync: Re-implement getAllNodes WebUI function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fixes + comments 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 caea2d08e4b9bb3102982f33b3b3ff10c013d7b0..f50bb75ae888f229d896e03f079ed7c78bf6072d 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -201,6 +201,13 @@ class SyncBackendHost : public BackendDataTypeConfigurer {
// Disables protocol event forwarding.
virtual void DisableProtocolEventForwarding() = 0;
+ // Returns a ListValue representing all nodes for the specified types through
+ // |callback| on this thread.
+ virtual void GetAllNodesForTypes(
+ syncer::ModelTypeSet types,
+ base::Callback<void(std::vector<syncer::ModelType>,
+ ScopedVector<base::ListValue>)> type) = 0;
+
virtual base::MessageLoop* GetSyncLoopForTesting() = 0;
DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);

Powered by Google App Engine
This is Rietveld 408576698