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

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: Created 4 years, 12 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: components/filesystem/files_test_base.cc
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc
index 28e36faf1c247aa997d051319490d1d5ed480234..8496ac760a069dae0f7eaf542279cdaf7caf2fcc 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

Powered by Google App Engine
This is Rietveld 408576698