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

Unified Diff: mojo/public/cpp/bindings/tests/versioning_test_service.cc

Issue 1375313006: For c++, Generate enum classes instead of enum from mojom. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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/cpp/bindings/tests/versioning_test_service.cc
diff --git a/mojo/public/cpp/bindings/tests/versioning_test_service.cc b/mojo/public/cpp/bindings/tests/versioning_test_service.cc
index e5d63a4ab3cd39aed828f2eb22477b74194b7606..ba76da2d82e57b63b65af240a8ee9e19b375043a 100644
--- a/mojo/public/cpp/bindings/tests/versioning_test_service.cc
+++ b/mojo/public/cpp/bindings/tests/versioning_test_service.cc
@@ -39,7 +39,7 @@ class HumanResourceDatabaseImpl : public HumanResourceDatabase {
info->employee = Employee::New();
info->employee->employee_id = 1;
info->employee->name = "Homer Simpson";
- info->employee->department = DEPARTMENT_DEV;
+ info->employee->department = Department::DEV;
info->employee->birthday = Date::New();
info->employee->birthday->year = 1955;
info->employee->birthday->month = 5;

Powered by Google App Engine
This is Rietveld 408576698