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

Unified Diff: base/directory_watcher_win.cc

Issue 17046: Re-enable DirectoryWatcherTest.SubDir on Vista (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 12 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
« base/directory_watcher_unittest.cc ('K') | « base/directory_watcher_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/directory_watcher_win.cc
===================================================================
--- base/directory_watcher_win.cc (revision 7533)
+++ base/directory_watcher_win.cc (working copy)
@@ -42,6 +42,7 @@
bool DirectoryWatcher::Impl::Watch(const FilePath& path) {
DCHECK(path_.value().empty()); // Can only watch one path.
+ DCHECK(path.IsAbsolute()); // FindFirstChangeNotification requires it.
handle_ = FindFirstChangeNotification(
path.value().c_str(),
« base/directory_watcher_unittest.cc ('K') | « base/directory_watcher_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698