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

Unified Diff: components/filesystem/directory_impl.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
« no previous file with comments | « ash/mus/sysui_application.cc ('k') | components/filesystem/directory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/directory_impl.h
diff --git a/components/filesystem/directory_impl.h b/components/filesystem/directory_impl.h
index 292560540f819915663466117e3f61a6acd8b6ea..9d4e212af63b85aa2ceae9c821ffdece72c20472 100644
--- a/components/filesystem/directory_impl.h
+++ b/components/filesystem/directory_impl.h
@@ -21,11 +21,11 @@ namespace filesystem {
class LockTable;
-class DirectoryImpl : public Directory {
+class DirectoryImpl : public mojom::Directory {
public:
// Set |temp_dir| only if there's a temporary directory that should be deleted
// when this object is destroyed.
- DirectoryImpl(mojo::InterfaceRequest<Directory> request,
+ DirectoryImpl(mojo::InterfaceRequest<mojom::Directory> request,
base::FilePath directory_path,
scoped_refptr<SharedTempDir> temp_dir,
scoped_refptr<LockTable> lock_table);
@@ -38,16 +38,16 @@ class DirectoryImpl : public Directory {
// |Directory| implementation:
void Read(const ReadCallback& callback) override;
void OpenFile(const mojo::String& path,
- mojo::InterfaceRequest<File> file,
+ mojo::InterfaceRequest<mojom::File> file,
uint32_t open_flags,
const OpenFileCallback& callback) override;
void OpenFileHandle(const mojo::String& path,
uint32_t open_flags,
const OpenFileHandleCallback& callback) override;
- void OpenFileHandles(mojo::Array<FileOpenDetailsPtr> details,
+ void OpenFileHandles(mojo::Array<mojom::FileOpenDetailsPtr> details,
const OpenFileHandlesCallback& callback) override;
void OpenDirectory(const mojo::String& path,
- mojo::InterfaceRequest<Directory> directory,
+ mojo::InterfaceRequest<mojom::Directory> directory,
uint32_t open_flags,
const OpenDirectoryCallback& callback) override;
void Rename(const mojo::String& path,
@@ -63,7 +63,7 @@ class DirectoryImpl : public Directory {
void Flush(const FlushCallback& callback) override;
void StatFile(const mojo::String& path,
const StatFileCallback& callback) override;
- void Clone(mojo::InterfaceRequest<Directory> directory) override;
+ void Clone(mojo::InterfaceRequest<mojom::Directory> directory) override;
void ReadEntireFile(const mojo::String& path,
const ReadEntireFileCallback& callback) override;
void WriteFile(const mojo::String& path,
@@ -73,9 +73,9 @@ class DirectoryImpl : public Directory {
private:
mojo::ScopedHandle OpenFileHandleImpl(const mojo::String& raw_path,
uint32_t open_flags,
- FileError* error);
+ mojom::FileError* error);
- mojo::StrongBinding<Directory> binding_;
+ mojo::StrongBinding<mojom::Directory> binding_;
base::FilePath directory_path_;
scoped_refptr<SharedTempDir> temp_dir_;
scoped_refptr<LockTable> lock_table_;
« no previous file with comments | « ash/mus/sysui_application.cc ('k') | components/filesystem/directory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698