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

Unified Diff: components/sync/driver/proxy_data_type_controller.cc

Issue 2276943006: [USS] Move GetAllNodes from backend to controller (Closed)
Patch Set: update for Max 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
Index: components/sync/driver/proxy_data_type_controller.cc
diff --git a/components/sync/driver/proxy_data_type_controller.cc b/components/sync/driver/proxy_data_type_controller.cc
index 99c74b78c856366553531f3c283eedf70a852041..ed3e29cc507e1b881fb3e335d514747f340f52ce 100644
--- a/components/sync/driver/proxy_data_type_controller.cc
+++ b/components/sync/driver/proxy_data_type_controller.cc
@@ -4,6 +4,10 @@
#include "components/sync/driver/proxy_data_type_controller.h"
+#include "base/bind.h"
+#include "base/bind_helpers.h"
+#include "base/memory/ptr_util.h"
+#include "base/values.h"
#include "components/sync/api/sync_merge_result.h"
namespace sync_driver {
@@ -70,4 +74,8 @@ void ProxyDataTypeController::ActivateDataType(
void ProxyDataTypeController::DeactivateDataType(
BackendDataTypeConfigurer* configurer) {}
+void ProxyDataTypeController::GetAllNodes(const AllNodesCallback& callback) {
+ callback.Run(type(), base::WrapUnique(new base::ListValue()));
+}
+
} // namespace sync_driver
« no previous file with comments | « components/sync/driver/proxy_data_type_controller.h ('k') | components/sync/driver/ui_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698