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

Unified Diff: services/resource_coordinator/public/cpp/resource_coordinator_interface.h

Issue 2946683002: [GRC] Tab CPU Usage Observer (Closed)
Patch Set: Add unittest Created 3 years, 6 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: services/resource_coordinator/public/cpp/resource_coordinator_interface.h
diff --git a/services/resource_coordinator/public/cpp/resource_coordinator_interface.h b/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
index 72ae40ab31a6d97374116271a1c7c21f918bef80..b86dbd179f945bf2d30e6552740fbc222c3b8865 100644
--- a/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
+++ b/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
+#include "base/values.h"
#include "services/resource_coordinator/public/interfaces/coordination_unit.mojom.h"
namespace service_manager {
@@ -41,6 +42,8 @@ class SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT
void SendEvent(const mojom::EventType& event_type);
void AddChild(const ResourceCoordinatorInterface& child);
void RemoveChild(const ResourceCoordinatorInterface& child);
+ void SetProperty(const mojom::PropertyType& property_type,
+ std::unique_ptr<base::Value> value);
private:
void ConnectToService(service_manager::Connector* connector,

Powered by Google App Engine
This is Rietveld 408576698