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

Unified Diff: remoting/host/policy_hack/policy_watcher_linux.cc

Issue 11415066: FilePathWatcher::Watch() - Listen for sub directory changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added more test cases Created 8 years 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 | « remoting/host/config_file_watcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/policy_hack/policy_watcher_linux.cc
diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc
index 09c16232a0ab249fc54a6867ce5ad86810945407..f9c561f5ee61ed2e940cd2391e06368214c1462d 100644
--- a/remoting/host/policy_hack/policy_watcher_linux.cc
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc
@@ -68,7 +68,7 @@ class PolicyWatcherLinux : public PolicyWatcher {
if (!config_dir_.empty() &&
!watcher_->Watch(
- config_dir_,
+ config_dir_, false,
base::Bind(&PolicyWatcherLinux::OnFilePathChanged,
weak_factory_.GetWeakPtr()))) {
OnFilePathChanged(config_dir_, true);
« no previous file with comments | « remoting/host/config_file_watcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698