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

Unified Diff: mojo/public/tests/bindings/sample_service.mojom

Issue 141893004: Support default values for arrays of POD data types in mojom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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
Index: mojo/public/tests/bindings/sample_service.mojom
diff --git a/mojo/public/tests/bindings/sample_service.mojom b/mojo/public/tests/bindings/sample_service.mojom
index 267ee624de4f4ec4b7d10339e79b390703d85e6d..b7d328afe9d6a4e03a0b44adbf27ce87c19d031e 100644
--- a/mojo/public/tests/bindings/sample_service.mojom
+++ b/mojo/public/tests/bindings/sample_service.mojom
@@ -28,7 +28,7 @@ struct Foo {
bool c @4;
Bar bar @5;
Bar[] extra_bars @7;
- uint8[] data @6;
+ uint8[] data = [1,2,3] @6;
handle<message_pipe> source @9;
handle<data_pipe_consumer>[] input_streams @10;
handle<data_pipe_producer>[] output_streams @11;
« no previous file with comments | « mojo/public/bindings/sample/sample_service_unittests.js ('k') | mojo/public/tests/bindings/sample_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698