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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/unobserve_entry.cc

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/operations/unobserve_entry.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/unobserve_entry.cc b/chrome/browser/chromeos/file_system_provider/operations/unobserve_entry.cc
index ae2762e98664ab87378e20279537ac749a211eae..50c5677ad318b3b0fffd16df9d91c42970dad786 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/unobserve_entry.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/unobserve_entry.cc
@@ -17,9 +17,11 @@ UnobserveEntry::UnobserveEntry(
extensions::EventRouter* event_router,
const ProvidedFileSystemInfo& file_system_info,
const base::FilePath& entry_path,
+ bool recursive,
const storage::AsyncFileUtil::StatusCallback& callback)
: Operation(event_router, file_system_info),
entry_path_(entry_path),
+ recursive_(recursive),
callback_(callback) {
}
@@ -33,6 +35,7 @@ bool UnobserveEntry::Execute(int request_id) {
options.file_system_id = file_system_info_.file_system_id();
options.request_id = request_id;
options.entry_path = entry_path_.AsUTF8Unsafe();
+ options.recursive = recursive_;
return SendEvent(
request_id,

Powered by Google App Engine
This is Rietveld 408576698