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

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: 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/file_system_impl.cc
diff --git a/components/filesystem/file_system_impl.cc b/components/filesystem/file_system_impl.cc
index 6ccf5cb2cfd7db04e173fc574530696d2f179a73..09ede9c82041bbac79ac0680ab29b0757548c003 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);
}
}

Powered by Google App Engine
This is Rietveld 408576698