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

Unified Diff: content/browser/dom_storage/dom_storage_context_wrapper.cc

Issue 1962503002: Add mojom module suffix in .mojom files for components/filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/mus/mus_app.cc ('k') | services/catalog/catalog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/dom_storage/dom_storage_context_wrapper.cc
diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.cc b/content/browser/dom_storage/dom_storage_context_wrapper.cc
index 96e2cee81d7cfa739884aba795f18909a534aef5..e1e3dd7eca6e0a3075ab131c56efb9470b0db9f9 100644
--- a/content/browser/dom_storage/dom_storage_context_wrapper.cc
+++ b/content/browser/dom_storage/dom_storage_context_wrapper.cc
@@ -108,7 +108,7 @@ class DOMStorageContextWrapper::MojoState {
}
// Part of our asynchronous directory opening called from OpenLocalStorage().
- void OnDirectoryOpened(filesystem::FileError err);
+ void OnDirectoryOpened(filesystem::mojom::FileError err);
void OnDatabaseOpened(leveldb::DatabaseError status);
// The (possibly delayed) implementation of OpenLocalStorage(). Can be called
@@ -132,7 +132,7 @@ class DOMStorageContextWrapper::MojoState {
std::unique_ptr<shell::Connection> user_service_connection_;
user_service::mojom::UserServicePtr user_service_;
- filesystem::DirectoryPtr directory_;
+ filesystem::mojom::DirectoryPtr directory_;
leveldb::LevelDBServicePtr leveldb_service_;
leveldb::LevelDBDatabasePtr database_;
@@ -190,8 +190,8 @@ void DOMStorageContextWrapper::MojoState::OpenLocalStorage(
}
void DOMStorageContextWrapper::MojoState::OnDirectoryOpened(
- filesystem::FileError err) {
- if (err != filesystem::FileError::OK) {
+ filesystem::mojom::FileError err) {
+ if (err != filesystem::mojom::FileError::OK) {
// We failed to open the directory; continue with startup so that we create
// the |level_db_wrappers_|.
OnDatabaseOpened(leveldb::DatabaseError::IO_ERROR);
« no previous file with comments | « components/mus/mus_app.cc ('k') | services/catalog/catalog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698