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

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

Issue 291173010: Mojo: Mojom: Remove support for octal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/interfaces/bindings/tests/sample_service.mojom
diff --git a/mojo/public/interfaces/bindings/tests/sample_service.mojom b/mojo/public/interfaces/bindings/tests/sample_service.mojom
index 51e78c871c8bcc4b6aa2f46c8b6ec879e365dbc1..fabf2b3e85d3553830fc8b58dbce1c5c2e74d930 100644
--- a/mojo/public/interfaces/bindings/tests/sample_service.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_service.mojom
@@ -59,23 +59,20 @@ struct DefaultsTest {
uint64 a7@7 /* = 9999999999999999999 */;
int32 a8@8 = 0x12345;
int32 a9@9 = -0x12345;
- // TODO(vtl): crbug.com/375829
- int32 a10@10 /* = 010 */; // Octal.
- int32 a11@11 /* = -010 */; // Negative octal.
- int32 a12@12 = +1234;
- bool a13@13 = true;
- bool a14@14 = false;
- float a15@15 = 123.25;
- double a16@16 = 1234567890.123;
- double a17@17 = 1E10;
- double a18@18 = -1.2E+20;
- double a19@19 = +1.23E-20;
+ int32 a10@10 = +1234;
+ bool a11@11 = true;
+ bool a12@12 = false;
+ float a13@13 = 123.25;
+ double a14@14 = 1234567890.123;
+ double a15@15 = 1E10;
+ double a16@16 = -1.2E+20;
+ double a17@17 = +1.23E-20;
// TODO(vtl): Add tests for default vs null when those are implemented (for
// structs, arrays, and strings).
- sample.DefaultsTestInner a20@20;
- uint8[] a21@21;
- string a22@22;
+ sample.DefaultsTestInner a18@18;
+ uint8[] a19@19;
+ string a20@20;
};
struct StructWithHoleV1 {
« no previous file with comments | « mojo/public/cpp/bindings/tests/sample_service_unittest.cc ('k') | mojo/public/tools/bindings/pylib/mojom/parse/lexer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698