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

Unified Diff: remoting/host/config_file_watcher.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 | « net/dns/dns_config_service_win.cc ('k') | remoting/host/policy_hack/policy_watcher_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/config_file_watcher.cc
diff --git a/remoting/host/config_file_watcher.cc b/remoting/host/config_file_watcher.cc
index 1f19900b311463c50a67cbf3d44539b463b9bc25..3c096a3dcf1e802d05662505d134b232776dc39d 100644
--- a/remoting/host/config_file_watcher.cc
+++ b/remoting/host/config_file_watcher.cc
@@ -122,8 +122,8 @@ void ConfigFileWatcherImpl::Watch(const FilePath& config_path) {
config_watcher_.reset(new base::files::FilePathWatcher());
config_path_ = config_path;
if (!config_watcher_->Watch(
- config_path_,
- base::Bind(&ConfigFileWatcherImpl::OnConfigUpdated, this))) {
+ config_path_, false,
+ base::Bind(&ConfigFileWatcherImpl::OnConfigUpdated, this))) {
LOG(ERROR) << "Couldn't watch file '" << config_path_.value() << "'";
main_task_runner_->PostTask(
FROM_HERE,
« no previous file with comments | « net/dns/dns_config_service_win.cc ('k') | remoting/host/policy_hack/policy_watcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698