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

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

Issue 5971008: move base/object_watcher into base/win and add the win namespace. Fixup calle... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « base/win/object_watcher_unittest.cc ('k') | chrome/browser/first_run/first_run_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/file_path_watcher/file_path_watcher_win.cc
===================================================================
--- chrome/browser/file_path_watcher/file_path_watcher_win.cc (revision 70358)
+++ chrome/browser/file_path_watcher/file_path_watcher_win.cc (working copy)
@@ -7,14 +7,14 @@
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/logging.h"
-#include "base/object_watcher.h"
#include "base/ref_counted.h"
#include "base/time.h"
+#include "base/win/object_watcher.h"
namespace {
class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate,
- public base::ObjectWatcher::Delegate {
+ public base::win::ObjectWatcher::Delegate {
public:
FilePathWatcherImpl() : delegate_(NULL), handle_(INVALID_HANDLE_VALUE) {}
@@ -49,7 +49,7 @@
HANDLE handle_;
// ObjectWatcher to watch handle_ for events.
- base::ObjectWatcher watcher_;
+ base::win::ObjectWatcher watcher_;
// Keep track of the last modified time of the file. We use nulltime
// to represent the file not existing.
« no previous file with comments | « base/win/object_watcher_unittest.cc ('k') | chrome/browser/first_run/first_run_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698