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

Unified Diff: device/serial/serial.mojom

Issue 472083003: Mojom cpp bindings: Enable non-nullable check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « no previous file | mojo/apps/js/test/js_to_cpp.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial.mojom
diff --git a/device/serial/serial.mojom b/device/serial/serial.mojom
index 8043063839f7aedc12b6749402c0cd5e24c7f770..23b12b374a512d98926ed54ac4edd0f540517664 100644
--- a/device/serial/serial.mojom
+++ b/device/serial/serial.mojom
@@ -5,12 +5,12 @@
module device.serial {
struct DeviceInfo {
- string path;
+ string? path;
uint16 vendor_id;
bool has_vendor_id = false;
uint16 product_id;
bool has_product_id = false;
- string display_name;
+ string? display_name;
};
enum SendError {
@@ -92,7 +92,7 @@ interface SerialService {
};
interface Connection {
- GetInfo() => (ConnectionInfo info);
+ GetInfo() => (ConnectionInfo? info);
SetOptions(ConnectionOptions options) => (bool success);
SetControlSignals(HostControlSignals signals) => (bool success);
GetControlSignals() => (DeviceControlSignals signals);
« no previous file with comments | « no previous file | mojo/apps/js/test/js_to_cpp.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698