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

Unified Diff: sql/mojo/vfs_unittest.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: sql/mojo/vfs_unittest.cc
diff --git a/sql/mojo/vfs_unittest.cc b/sql/mojo/vfs_unittest.cc
index dc6a1eec4e0be44512528687b4ab96c9cb030aec..41e63d4ca2d2bb8f63f779989570ab46a0031141 100644
--- a/sql/mojo/vfs_unittest.cc
+++ b/sql/mojo/vfs_unittest.cc
@@ -58,12 +58,12 @@ class VFSTest : public mojo::test::ApplicationTestBase,
filesystem::FileSystemClientPtr client;
binding_.Bind(GetProxy(&client));
- filesystem::FileError error = filesystem::FILE_ERROR_FAILED;
+ filesystem::FileError error = filesystem::FileError::FAILED;
filesystem::DirectoryPtr directory;
files_->OpenFileSystem("temp", GetProxy(&directory), std::move(client),
mojo::Capture(&error));
ASSERT_TRUE(files_.WaitForIncomingResponse());
- ASSERT_EQ(filesystem::FILE_ERROR_OK, error);
+ ASSERT_EQ(filesystem::FileError::OK, error);
vfs_.reset(new ScopedMojoFilesystemVFS(std::move(directory)));
}

Powered by Google App Engine
This is Rietveld 408576698