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

Side by Side Diff: mojo/spy/public/spy.mojom

Issue 502853002: Mojom: Blanket change to mark all pointer/handle fields as nullable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/shell/external_service.mojom ('k') | ui/keyboard/webui/keyboard.mojom » ('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 module mojo.spy_api { 5 module mojo.spy_api {
6 6
7 enum Result { 7 enum Result {
8 ALL_OK, 8 ALL_OK,
9 INTERNAL_ERROR, 9 INTERNAL_ERROR,
10 INVALID_ID, 10 INVALID_ID,
(...skipping 12 matching lines...) Expand all
23 enum ConnectionOptions { 23 enum ConnectionOptions {
24 SKIP, 24 SKIP,
25 PAUSE, 25 PAUSE,
26 RESUME, 26 RESUME,
27 PEEK_MESSAGES 27 PEEK_MESSAGES
28 }; 28 };
29 29
30 struct Message { 30 struct Message {
31 uint32 id; 31 uint32 id;
32 uint32 time; 32 uint32 time;
33 uint8[] data; 33 uint8[]? data;
34 }; 34 };
35 35
36 [Client=SpyClient] 36 [Client=SpyClient]
37 interface SpyServer { 37 interface SpyServer {
38 StartSession(Version version) => (Result result, string name); 38 StartSession(Version? version) => (Result result, string? name);
39 StopSession() => (Result result); 39 StopSession() => (Result result);
40 TrackConnection(uint32 id, ConnectionOptions options) => (Result result); 40 TrackConnection(uint32 id, ConnectionOptions options) => (Result result);
41 }; 41 };
42 42
43 interface SpyClient { 43 interface SpyClient {
44 OnFatalError(Result result); 44 OnFatalError(Result result);
45 OnSessionEnd(Result result); 45 OnSessionEnd(Result result);
46 OnClientConnection(string name, uint32 id, ConnectionOptions options); 46 OnClientConnection(string? name, uint32 id, ConnectionOptions options);
47 OnMessage(Message message); 47 OnMessage(Message? message);
48 }; 48 };
49 49
50 } 50 }
OLDNEW
« no previous file with comments | « mojo/shell/external_service.mojom ('k') | ui/keyboard/webui/keyboard.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698