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

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. +#include 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 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 use_once_callback = true
15 } 17 }
16 18
17 mojom("media_controller") { 19 mojom("media_controller") {
18 sources = [ 20 sources = [
19 "media_controller.mojom", 21 "media_controller.mojom",
20 "media_status.mojom", 22 "media_status.mojom",
21 ] 23 ]
22 24
23 public_deps = [ 25 public_deps = [
24 "//mojo/common:common_custom_types", 26 "//mojo/common:common_custom_types",
25 ] 27 ]
26 } 28 }
27 29
28 mojom("media_router") { 30 mojom("media_router") {
29 sources = [ 31 sources = [
30 "media_router.mojom", 32 "media_router.mojom",
31 ] 33 ]
32 34
33 public_deps = [ 35 public_deps = [
34 ":media_controller", 36 ":media_controller",
35 "//mojo/common:common_custom_types", 37 "//mojo/common:common_custom_types",
36 "//net/interfaces:interfaces", 38 "//net/interfaces:interfaces",
37 "//url/mojo:url_mojom_gurl", 39 "//url/mojo:url_mojom_gurl",
38 "//url/mojo:url_mojom_origin", 40 "//url/mojo:url_mojom_origin",
39 ] 41 ]
42
43 use_once_callback = true
40 } 44 }
41 45
42 mojom("media_router_test_interfaces") { 46 mojom("media_router_test_interfaces") {
43 sources = [ 47 sources = [
44 "media_router_traits_test_service.mojom", 48 "media_router_traits_test_service.mojom",
45 ] 49 ]
46 50
47 public_deps = [ 51 public_deps = [
48 ":media_router", 52 ":media_router",
49 ] 53 ]
54
55 use_once_callback = true
50 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698