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

Unified Diff: mojo/services/files/public/c/tests/mojio_impl_test_base.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, 2 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 | « mojo/services/files/public/c/lib/util.cc ('k') | mojo/services/files/public/c/tests/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/files/public/c/tests/mojio_impl_test_base.cc
diff --git a/mojo/services/files/public/c/tests/mojio_impl_test_base.cc b/mojo/services/files/public/c/tests/mojio_impl_test_base.cc
index 6b606a0105e3a5f8660ca553126cd15483c45549..e3aeba33f2b302347255c9d3c0f137973b10a56a 100644
--- a/mojo/services/files/public/c/tests/mojio_impl_test_base.cc
+++ b/mojo/services/files/public/c/tests/mojio_impl_test_base.cc
@@ -25,10 +25,10 @@ void MojioImplTestBase::SetUp() {
mojo::files::FilesPtr files;
application_impl()->ConnectToService("mojo:files", &files);
- mojo::files::Error error = mojo::files::ERROR_INTERNAL;
+ mojo::files::Error error = mojo::files::Error::INTERNAL;
files->OpenFileSystem(nullptr, mojo::GetProxy(&directory_), Capture(&error));
MOJO_CHECK(files.WaitForIncomingResponse());
- MOJO_CHECK(error == mojo::files::ERROR_OK);
+ MOJO_CHECK(error == mojo::files::Error::OK);
}
} // namespace test
« no previous file with comments | « mojo/services/files/public/c/lib/util.cc ('k') | mojo/services/files/public/c/tests/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698