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

Unified Diff: chrome/browser/file_path_watcher/file_path_watcher.cc

Issue 6697020: Fixed shutdown concurrency issues in FilePathWatcher. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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/file_path_watcher/file_path_watcher.cc
diff --git a/chrome/browser/file_path_watcher/file_path_watcher.cc b/chrome/browser/file_path_watcher/file_path_watcher.cc
index c516172303ac66fd48ce479bb68a17aaafae5a20..84f313b894ac796c542b59c165841404b04882a8 100644
--- a/chrome/browser/file_path_watcher/file_path_watcher.cc
+++ b/chrome/browser/file_path_watcher/file_path_watcher.cc
@@ -7,6 +7,8 @@
#include "chrome/browser/file_path_watcher/file_path_watcher.h"
+#include "content/browser/browser_thread.h"
+
FilePathWatcher::~FilePathWatcher() {
impl_->Cancel();
}

Powered by Google App Engine
This is Rietveld 408576698