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

Unified Diff: services/files/files_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 | « services/files/files_impl.cc ('k') | services/files/shared_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/files_test_base.cc
diff --git a/services/files/files_test_base.cc b/services/files/files_test_base.cc
index 6dd8937df1bdb4f3d457eb776478a0ef4308c69b..b0dade1486901ef9187e9d5a4d89b150f517bed6 100644
--- a/services/files/files_test_base.cc
+++ b/services/files/files_test_base.cc
@@ -23,10 +23,10 @@ void FilesTestBase::SetUp() {
}
void FilesTestBase::GetTemporaryRoot(DirectoryPtr* directory) {
- Error error = ERROR_INTERNAL;
+ Error error = Error::INTERNAL;
files()->OpenFileSystem(nullptr, GetProxy(directory), Capture(&error));
ASSERT_TRUE(files().WaitForIncomingResponse());
- ASSERT_EQ(ERROR_OK, error);
+ ASSERT_EQ(Error::OK, error);
}
} // namespace files
« no previous file with comments | « services/files/files_impl.cc ('k') | services/files/shared_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698