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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_linux.cc

Issue 11415066: FilePathWatcher::Watch() - Listen for sub directory changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile error. Created 8 years, 1 month 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/system_monitor/removable_device_notifications_linux.cc
diff --git a/chrome/browser/system_monitor/removable_device_notifications_linux.cc b/chrome/browser/system_monitor/removable_device_notifications_linux.cc
index 9e04d3a673fc076870b9871c593a3ae37ef5e817..f96fbe36ed5e9baebee140874735a76d5631ede4 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_linux.cc
+++ b/chrome/browser/system_monitor/removable_device_notifications_linux.cc
@@ -362,7 +362,7 @@ void RemovableDeviceNotificationsLinux::InitOnFileThread() {
// RemovableDeviceNotificationsLinux will live longer than expected, and
// FilePathWatcher will get in trouble at shutdown time.
bool ret = file_watcher_.Watch(
- mtab_path_,
+ mtab_path_, false,
base::Bind(&RemovableDeviceNotificationsLinux::OnFilePathChanged,
base::Unretained(this)));
if (!ret) {

Powered by Google App Engine
This is Rietveld 408576698