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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/external_service.mojom ('k') | ui/keyboard/webui/keyboard.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
}
« 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