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

Unified Diff: components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h

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
Index: components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
diff --git a/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h b/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
index ffb52f4c6fafd86247d971f4ac04dc7d1d0dd8b3..0ea0d93dd7415ae63656ea40a194fed4e8d8aefc 100644
--- a/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
+++ b/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
@@ -55,14 +55,14 @@ namespace filesystem {
// Removing this class is a part of crbug.com/580652.
class FilesystemJsonPrefStore
: public PersistentPrefStore,
- public filesystem::FileSystemClient,
+ public filesystem::mojom::FileSystemClient,
public base::SupportsWeakPtr<FilesystemJsonPrefStore>,
public base::NonThreadSafe {
public:
struct ReadResult;
FilesystemJsonPrefStore(const std::string& pref_filename,
- filesystem::FileSystemPtr filesystem,
+ filesystem::mojom::FileSystemPtr filesystem,
std::unique_ptr<PrefFilter> pref_filter);
// PrefStore overrides:
@@ -138,24 +138,25 @@ class FilesystemJsonPrefStore
// Callback method which verifies that there were no errors on opening the
// filesystem, and if there aren't, invokes the passed in callback.
- void OnOpenFilesystem(base::Closure callback, FileError err);
+ void OnOpenFilesystem(base::Closure callback, mojom::FileError err);
// Asynchronous implementation details of PerformWrite().
void OnTempFileWriteStart();
- void OnTempFileWrite(FileError err);
- void OnTempFileRenamed(FileError err);
+ void OnTempFileWrite(mojom::FileError err);
+ void OnTempFileRenamed(mojom::FileError err);
// Asynchronous implementation details of ReadPrefsAsync().
void OnPreferencesReadStart();
- void OnPreferencesFileRead(FileError err, mojo::Array<uint8_t> contents);
+ void OnPreferencesFileRead(mojom::FileError err,
+ mojo::Array<uint8_t> contents);
const std::string path_;
- mojo::Binding<filesystem::FileSystemClient> binding_;
- filesystem::FileSystemPtr filesystem_;
+ mojo::Binding<filesystem::mojom::FileSystemClient> binding_;
+ filesystem::mojom::FileSystemPtr filesystem_;
// |directory_| is only bound after the first attempt to access the
// |filesystem. See OpenFilesystem().
- DirectoryPtr directory_;
+ mojom::DirectoryPtr directory_;
std::unique_ptr<base::DictionaryValue> prefs_;
« no previous file with comments | « components/filesystem/files_test_base.cc ('k') | components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698