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

Unified Diff: components/filesystem/files_test_base.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 | « components/filesystem/file_system_impl.cc ('k') | components/filesystem/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/files_test_base.cc
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc
index d57acf24ab6e1a15d710a867ae853ff28cc5640b..6b73a377aa5b2ce9a84501e5d044d308f09c1b19 100644
--- a/components/filesystem/files_test_base.cc
+++ b/components/filesystem/files_test_base.cc
@@ -31,11 +31,11 @@ void FilesTestBase::GetTemporaryRoot(DirectoryPtr* directory) {
filesystem::FileSystemClientPtr client;
binding_.Bind(GetProxy(&client));
- FileError error = FILE_ERROR_FAILED;
+ FileError error = FileError::FAILED;
files()->OpenFileSystem("temp", GetProxy(directory), std::move(client),
mojo::Capture(&error));
ASSERT_TRUE(files().WaitForIncomingResponse());
- ASSERT_EQ(FILE_ERROR_OK, error);
+ ASSERT_EQ(FileError::OK, error);
}
} // namespace filesystem
« no previous file with comments | « components/filesystem/file_system_impl.cc ('k') | components/filesystem/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698