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

Side by Side Diff: mojo/public/interfaces/bindings/tests/sample_service.mojom

Issue 2778953003: media: Add RunOnDestruction
Patch Set: Created 3 years, 8 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
« no previous file with comments | « mojo/public/cpp/bindings/tests/binding_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Copyright 2013 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"] 6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"]
7 module sample; 7 module sample;
8 8
9 import "sample_import.mojom"; 9 import "sample_import.mojom";
10 import "sample_import2.mojom"; 10 import "sample_import2.mojom";
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 }; 96 };
97 97
98 interface Service { 98 interface Service {
99 enum BazOptions { 99 enum BazOptions {
100 REGULAR = 0, 100 REGULAR = 0,
101 EXTRA 101 EXTRA
102 }; 102 };
103 const uint8 kFavoriteBaz = 1; 103 const uint8 kFavoriteBaz = 1;
104 Frobinate@0(Foo? foo@0, BazOptions baz@1, Port? port@2) => (int32 result@0); 104 Frobinate@0(Foo? foo@0, BazOptions baz@1, Port? port@2) => (int32 result@0);
105 GetPort@1(Port& port @0); 105 GetPort@1(Port& port @0);
106 EatCallback() => (bool result);
106 }; 107 };
107 108
108 // This interface is referenced above where it is defined. It also refers to 109 // This interface is referenced above where it is defined. It also refers to
109 // itself from a method. 110 // itself from a method.
110 interface Port { 111 interface Port {
111 PostMessageToPort@0(string message_text@0, Port port@1); 112 PostMessageToPort@0(string message_text@0, Port port@1);
112 }; 113 };
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/binding_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698