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

Side by Side Diff: services/js/system/tests/js_to_cpp.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
OLDNEW
1 module js_to_cpp; 1 module js_to_cpp;
2 2
3 // This struct encompasses all of the basic types, so that they 3 // This struct encompasses all of the basic types, so that they
4 // may be sent from C++ to JS and back for validation. 4 // may be sent from C++ to JS and back for validation.
5 struct EchoArgs { 5 struct EchoArgs {
6 int64 si64; 6 int64 si64;
7 int32 si32; 7 int32 si32;
8 int16 si16; 8 int16 si16;
9 int8 si8; 9 int8 si8;
10 uint64 ui64; 10 uint64 ui64;
11 uint32 ui32; 11 uint32 ui32;
12 uint16 ui16; 12 uint16 ui16;
13 uint8 ui8; 13 uint8 ui8;
14 float float_val; 14 float float_val;
15 float float_inf; 15 float float_inf;
16 float float_nan; 16 float float_nan;
17 double double_val; 17 double double_val;
18 double double_inf; 18 double double_inf;
19 double double_nan; 19 double double_nan;
20 string? name; 20 string? name;
21 array<string>? string_array; 21 array<string>? string_array;
22 handle<message_pipe>? message_handle; 22 handle<message_pipe>? message_handle;
23 handle<data_pipe_consumer>? data_handle; 23 handle<data_pipe_consumer>? data_handle;
(...skipping 21 matching lines...) Expand all
45 }; 45 };
46 46
47 interface JsSide { 47 interface JsSide {
48 SetCppSide(CppSide cpp); 48 SetCppSide(CppSide cpp);
49 49
50 Ping(); 50 Ping();
51 Echo(int32 numIterations, EchoArgs arg); 51 Echo(int32 numIterations, EchoArgs arg);
52 BitFlip(EchoArgs arg); 52 BitFlip(EchoArgs arg);
53 BackPointer(EchoArgs arg); 53 BackPointer(EchoArgs arg);
54 }; 54 };
OLDNEW
« no previous file with comments | « services/intent_receiver/intent_receiver.mojom ('k') | services/js/test/network_test_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698