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

Side by Side Diff: chrome/common/media_router/mojo/BUILD.gn

Issue 2867713002: Use OnceCallback on Mojo interfaces in //chrome/common/media_router (Closed)
Patch Set: rebase 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 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 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 mojom("dial_utility_interfaces") { 7 mojom("dial_utility_interfaces") {
8 sources = [ 8 sources = [
9 "dial_device_description_parser.mojom", 9 "dial_device_description_parser.mojom",
10 ] 10 ]
11 11
12 public_deps = [ 12 public_deps = [
13 "//mojo/common:common_custom_types", 13 "//mojo/common:common_custom_types",
14 ] 14 ]
15
16 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
17 use_once_callback = false
18 } 15 }
19 16
20 mojom("media_controller") { 17 mojom("media_controller") {
21 sources = [ 18 sources = [
22 "media_controller.mojom", 19 "media_controller.mojom",
23 "media_status.mojom", 20 "media_status.mojom",
24 ] 21 ]
25 22
26 public_deps = [ 23 public_deps = [
27 "//mojo/common:common_custom_types", 24 "//mojo/common:common_custom_types",
28 ] 25 ]
29 26
30 # TODO(crbug.com/699569): Convert to use the new JS bindings. 27 # TODO(crbug.com/699569): Convert to use the new JS bindings.
31 use_new_js_bindings = false 28 use_new_js_bindings = false
32 } 29 }
33 30
34 mojom("media_router") { 31 mojom("media_router") {
35 sources = [ 32 sources = [
36 "media_router.mojom", 33 "media_router.mojom",
37 ] 34 ]
38 35
39 public_deps = [ 36 public_deps = [
40 ":media_controller", 37 ":media_controller",
41 "//mojo/common:common_custom_types", 38 "//mojo/common:common_custom_types",
42 "//net/interfaces:interfaces", 39 "//net/interfaces:interfaces",
43 "//url/mojo:url_mojom_gurl", 40 "//url/mojo:url_mojom_gurl",
44 "//url/mojo:url_mojom_origin", 41 "//url/mojo:url_mojom_origin",
45 ] 42 ]
46 43
47 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
48 use_once_callback = false
49
50 # TODO(crbug.com/699569): Convert to use the new JS bindings. 44 # TODO(crbug.com/699569): Convert to use the new JS bindings.
51 use_new_js_bindings = false 45 use_new_js_bindings = false
52 } 46 }
53 47
54 mojom("media_router_test_interfaces") { 48 mojom("media_router_test_interfaces") {
55 sources = [ 49 sources = [
56 "media_router_traits_test_service.mojom", 50 "media_router_traits_test_service.mojom",
57 ] 51 ]
58 52
59 public_deps = [ 53 public_deps = [
60 ":media_router", 54 ":media_router",
61 ] 55 ]
62
63 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
64 use_once_callback = false
65 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698