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

Unified Diff: services/resource_coordinator/public/cpp/memory/coordinator.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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/memory/coordinator.h
diff --git a/services/resource_coordinator/public/cpp/memory/coordinator.h b/services/resource_coordinator/public/cpp/memory/coordinator.h
index 6bdaa466aa170f17e06f9df7836ae86c4ba0a1c0..e447d3081915060bc3fc7ae4e2068c98ce38a061 100644
--- a/services/resource_coordinator/public/cpp/memory/coordinator.h
+++ b/services/resource_coordinator/public/cpp/memory/coordinator.h
@@ -7,12 +7,18 @@
#include "services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace memory_instrumentation {
class Coordinator {
public:
// Binds a CoordinatorRequest to this Coordinator instance.
- virtual void BindCoordinatorRequest(mojom::CoordinatorRequest) = 0;
+ virtual void BindCoordinatorRequest(
+ const service_manager::BindSourceInfo& source_info,
+ mojom::CoordinatorRequest) = 0;
};
} // namespace memory_instrumentation

Powered by Google App Engine
This is Rietveld 408576698