| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SERVICES_MEMORY_INSTRUMENTATION_PUBLIC_CPP_COORDINATOR_H_ | 5 #ifndef SERVICES_MEMORY_INSTRUMENTATION_PUBLIC_CPP_COORDINATOR_H_ |
| 6 #define SERVICES_MEMORY_INSTRUMENTATION_PUBLIC_CPP_COORDINATOR_H_ | 6 #define SERVICES_MEMORY_INSTRUMENTATION_PUBLIC_CPP_COORDINATOR_H_ |
| 7 | 7 |
| 8 #include "services/resource_coordinator/public/interfaces/memory/memory_instrume
ntation.mojom.h" | 8 #include "services/resource_coordinator/public/interfaces/memory/memory_instrume
ntation.mojom.h" |
| 9 | 9 |
| 10 namespace service_manager { |
| 11 struct BindSourceInfo; |
| 12 } |
| 13 |
| 10 namespace memory_instrumentation { | 14 namespace memory_instrumentation { |
| 11 | 15 |
| 12 class Coordinator { | 16 class Coordinator { |
| 13 public: | 17 public: |
| 14 // Binds a CoordinatorRequest to this Coordinator instance. | 18 // Binds a CoordinatorRequest to this Coordinator instance. |
| 15 virtual void BindCoordinatorRequest(mojom::CoordinatorRequest) = 0; | 19 virtual void BindCoordinatorRequest( |
| 20 const service_manager::BindSourceInfo& source_info, |
| 21 mojom::CoordinatorRequest) = 0; |
| 16 }; | 22 }; |
| 17 | 23 |
| 18 } // namespace memory_instrumentation | 24 } // namespace memory_instrumentation |
| 19 | 25 |
| 20 #endif // SERVICES_MEMORY_INSTRUMENTATION_PUBLIC_CPP_COORDINATOR_H_ | 26 #endif // SERVICES_MEMORY_INSTRUMENTATION_PUBLIC_CPP_COORDINATOR_H_ |
| OLD | NEW |