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

Side by Side 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, 7 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 unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698