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

Unified Diff: components/filesystem/file_system_impl.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_impl_unittest.cc ('k') | components/filesystem/files_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/file_system_impl.cc
diff --git a/components/filesystem/file_system_impl.cc b/components/filesystem/file_system_impl.cc
index 90497764cee7a75c11f7ffda0520850f345b3fa2..88de84c1b59f529045753dadc7d09fd4684be8a1 100644
--- a/components/filesystem/file_system_impl.cc
+++ b/components/filesystem/file_system_impl.cc
@@ -90,9 +90,9 @@ void FileSystemImpl::OpenFileSystem(const mojo::String& file_system,
DirectoryImpl* dir_impl =
new DirectoryImpl(std::move(directory), path, std::move(temp_dir));
app_->RegisterDirectoryToClient(dir_impl, std::move(client));
- callback.Run(FILE_ERROR_OK);
+ callback.Run(FileError::OK);
} else {
- callback.Run(FILE_ERROR_FAILED);
+ callback.Run(FileError::FAILED);
}
}
« no previous file with comments | « components/filesystem/file_impl_unittest.cc ('k') | components/filesystem/files_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698