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

Unified Diff: chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h

Issue 679573002: [fsp] Separate recursive and non-recursive watchers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 2 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: chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h
diff --git a/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h b/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h
index aa24683cc3fd82e96bff640f5b885dddfeb2fc22..52d0ae617b8d7d9ad0deeb53031d815d4b7b7905 100644
--- a/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h
+++ b/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h
@@ -131,17 +131,18 @@ class FakeProvidedFileSystem : public ProvidedFileSystemInterface {
const storage::AsyncFileUtil::StatusCallback& callback) override;
virtual void UnobserveEntry(
const base::FilePath& entry_path,
+ bool recursive,
const storage::AsyncFileUtil::StatusCallback& callback) override;
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const override;
virtual RequestManager* GetRequestManager() override;
virtual ObservedEntries* GetObservedEntries() override;
virtual void AddObserver(ProvidedFileSystemObserver* observer) override;
virtual void RemoveObserver(ProvidedFileSystemObserver* observer) override;
- virtual bool Notify(
- const base::FilePath& observed_path,
- ProvidedFileSystemObserver::ChangeType change_type,
- scoped_ptr<ProvidedFileSystemObserver::ChildChanges> child_changes,
- const std::string& tag) override;
+ virtual bool Notify(const base::FilePath& observed_path,
+ bool recursive,
+ ProvidedFileSystemObserver::ChangeType change_type,
+ scoped_ptr<ProvidedFileSystemObserver::Changes> changes,
+ const std::string& tag) override;
virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() override;
// Factory callback, to be used in Service::SetFileSystemFactory(). The

Powered by Google App Engine
This is Rietveld 408576698