diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 00:36:39 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 00:36:39 +0000 |
commit | 66a5940fbfc857691cef0cac9e201f6b3414007d (patch) | |
tree | 67b3c03d201dccababf08f31c24ac8fdd414b764 /remoting/host/policy_hack | |
parent | ef442aa72df5c6fcd3da8921e365098f1b39f492 (diff) | |
download | chromium_src-66a5940fbfc857691cef0cac9e201f6b3414007d.zip chromium_src-66a5940fbfc857691cef0cac9e201f6b3414007d.tar.gz chromium_src-66a5940fbfc857691cef0cac9e201f6b3414007d.tar.bz2 |
(1) Added a recursive boolean param to FilePathWatcher::Watch() function to watch for sub directory tree changes. Fixed all the calling sites.
(2) Added support to watch sub trees on Windows.
(3) Added FilePathWatcherTest.RecursiveWatch browser test.
BUG=144491
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11415066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/policy_hack')
-rw-r--r-- | remoting/host/policy_hack/policy_watcher_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc index 09c1623..f9c561f 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); |