Index: mojo/spy/public/spy.mojom |
diff --git a/mojo/spy/public/spy.mojom b/mojo/spy/public/spy.mojom |
index f5d110ad7377f0c4c2b96af080c807eddd4d60c8..d8b9138e48a71ee09e5129d10489a3a13e8cd81c 100644 |
--- a/mojo/spy/public/spy.mojom |
+++ b/mojo/spy/public/spy.mojom |
@@ -30,12 +30,12 @@ enum ConnectionOptions { |
struct Message { |
uint32 id; |
uint32 time; |
- uint8[] data; |
+ uint8[]? data; |
}; |
[Client=SpyClient] |
interface SpyServer { |
- StartSession(Version version) => (Result result, string name); |
+ StartSession(Version? version) => (Result result, string? name); |
StopSession() => (Result result); |
TrackConnection(uint32 id, ConnectionOptions options) => (Result result); |
}; |
@@ -43,8 +43,8 @@ interface SpyServer { |
interface SpyClient { |
OnFatalError(Result result); |
OnSessionEnd(Result result); |
- OnClientConnection(string name, uint32 id, ConnectionOptions options); |
- OnMessage(Message message); |
+ OnClientConnection(string? name, uint32 id, ConnectionOptions options); |
+ OnMessage(Message? message); |
}; |
} |