| 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 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 mojom("interfaces_internal") { | 7 mojom("interfaces_internal") { |
| 8 visibility = [ "//services/resource_coordinator/public/cpp:*" ] | 8 visibility = [ "//services/resource_coordinator/public/cpp:*" ] |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| 11 "coordination_unit.mojom", | 11 "coordination_unit.mojom", |
| 12 "coordination_unit_provider.mojom", | 12 "coordination_unit_provider.mojom", |
| 13 "events.mojom", | 13 "events.mojom", |
| 14 "memory/constants.mojom", | 14 "memory/constants.mojom", |
| 15 "memory/memory_instrumentation.mojom", | 15 "memory/memory_instrumentation.mojom", |
| 16 "service_constants.mojom", | 16 "service_constants.mojom", |
| 17 "tracing/tracing.mojom", | 17 "tracing/tracing.mojom", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 public_deps = [ | 20 public_deps = [ |
| 21 "//mojo/common:common_custom_types", | 21 "//mojo/common:common_custom_types", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 export_class_attribute = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT" | 24 export_class_attribute = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT" |
| 25 export_define = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1" | 25 export_define = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1" |
| 26 export_header = | 26 export_header = |
| 27 "services/resource_coordinator/public/cpp/resource_coordinator_export.h" | 27 "services/resource_coordinator/public/cpp/resource_coordinator_export.h" |
| 28 |
| 29 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 30 use_once_callback = false |
| 28 } | 31 } |
| OLD | NEW |