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

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

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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/versioning_test_service.mojom
diff --git a/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom b/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom
index f840cd3240c48c9811f2371d7cd2920c96804de8..9a34e949af92576bdf303a49e86a135ebafe139b 100644
--- a/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom
+++ b/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom
@@ -10,7 +10,7 @@ module mojo.test.versioning;
enum Department {
SALES,
- DEV
+ DEV,
};
struct Date {
@@ -23,17 +23,16 @@ struct Employee {
uint64 employee_id;
string name;
Department department;
- [MinVersion=1] Date? birthday;
+ [MinVersion=1]
vtl 2016/02/29 23:41:59 This formatting is pretty ugly and confusing.
azani 2016/03/04 01:08:49 Done.
+ Date? birthday;
};
[ServiceName="mojo::test::versioning::HumanResourceDatabase"]
interface HumanResourceDatabase {
AddEmployee(Employee employee) => (bool success);
- QueryEmployee(uint64 id, [MinVersion=1] bool retrieve_finger_print)
- => (Employee? employee, [MinVersion=1] array<uint8>? finger_print);
+ QueryEmployee(uint64 id, [MinVersion=1]bool retrieve_finger_print) => (Employee? employee, [MinVersion=1]array<uint8>? finger_print);
jamesr 2016/02/29 23:40:49 this is way too long. i liked breaking on the =>
azani 2016/03/04 01:08:49 Done.
[MinVersion=1]
- AttachFingerPrint(uint64 id, array<uint8> finger_print)
- => (bool success);
+ AttachFingerPrint(uint64 id, array<uint8> finger_print) => (bool success);
};

Powered by Google App Engine
This is Rietveld 408576698