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

Unified Diff: components/arc/test/fake_file_system_instance.h

Issue 2714433003: mediaview: IPC definitions to watch for document changes. (Closed)
Patch Set: Add more fool-proof comment as per hidehiko's request in another CL. Created 3 years, 10 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/arc/common/file_system.mojom ('k') | components/arc/test/fake_file_system_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/test/fake_file_system_instance.h
diff --git a/components/arc/test/fake_file_system_instance.h b/components/arc/test/fake_file_system_instance.h
index 37ed417ec422c571f84f57aa33ae1240d507b2f6..5fa4ac8032ed192352d3d252f12a5f30b2a78855 100644
--- a/components/arc/test/fake_file_system_instance.h
+++ b/components/arc/test/fake_file_system_instance.h
@@ -109,6 +109,9 @@ class FakeFileSystemInstance : public mojom::FileSystemInstance {
void AddDocument(const Document& document);
// mojom::FileSystemInstance:
+ void AddWatcher(const std::string& authority,
+ const std::string& document_id,
+ const AddWatcherCallback& callback) override;
void GetChildDocuments(const std::string& authority,
const std::string& document_id,
const GetChildDocumentsCallback& callback) override;
@@ -117,8 +120,11 @@ class FakeFileSystemInstance : public mojom::FileSystemInstance {
const GetDocumentCallback& callback) override;
void GetFileSize(const std::string& url,
const GetFileSizeCallback& callback) override;
+ void Init(mojom::FileSystemHostPtr host) override;
void OpenFileToRead(const std::string& url,
const OpenFileToReadCallback& callback) override;
+ void RemoveWatcher(int64_t watcher_id,
+ const RemoveWatcherCallback& callback) override;
void RequestMediaScan(const std::vector<std::string>& paths) override;
private:
« no previous file with comments | « components/arc/common/file_system.mojom ('k') | components/arc/test/fake_file_system_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698