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

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

Issue 1785843002: [mojo] Implement pipe fusion API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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/system/message_pipe.h ('k') | mojo/public/platform/native/system_thunks.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample", 5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample",
6 JavaConstantsClassName="InterfaceConstants", 6 JavaConstantsClassName="InterfaceConstants",
7 Foo = "hello world"] 7 Foo = "hello world"]
8 module sample; 8 module sample;
9 9
10 const uint64 kLong = 4405; 10 const uint64 kLong = 4405;
11 11
12 enum Enum { 12 enum Enum {
13 VALUE 13 VALUE
14 }; 14 };
15 15
16 interface PingTest {
17 Ping() => ();
18 };
19
16 interface Provider { 20 interface Provider {
17 EchoString(string a) => (string a); 21 EchoString(string a) => (string a);
18 EchoStrings(string a, string b) => (string a, string b); 22 EchoStrings(string a, string b) => (string a, string b);
19 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); 23 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a);
20 EchoEnum(Enum a) => (Enum a); 24 EchoEnum(Enum a) => (Enum a);
21 EchoInt(int32 a) => (int32 a); 25 EchoInt(int32 a) => (int32 a);
22 }; 26 };
23 27
24 interface IntegerAccessor { 28 interface IntegerAccessor {
25 GetInteger() => (int64 data, [MinVersion=2] Enum type); 29 GetInteger() => (int64 data, [MinVersion=2] Enum type);
26 [MinVersion=1] 30 [MinVersion=1]
27 SetInteger(int64 data, [MinVersion=3] Enum type); 31 SetInteger(int64 data, [MinVersion=3] Enum type);
28 }; 32 };
OLDNEW
« no previous file with comments | « mojo/public/cpp/system/message_pipe.h ('k') | mojo/public/platform/native/system_thunks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698