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

Unified Diff: chrome/service/cloud_print/print_system_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 | « chrome/common/service_process_util_win.cc ('k') | chrome_frame/test/win_event_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/print_system_win.cc
===================================================================
--- chrome/service/cloud_print/print_system_win.cc (revision 70358)
+++ chrome/service/cloud_print/print_system_win.cc (working copy)
@@ -8,9 +8,9 @@
#include <winspool.h>
#include "base/file_path.h"
-#include "base/object_watcher.h"
#include "base/scoped_ptr.h"
#include "base/utf_string_conversions.h"
+#include "base/win/object_watcher.h"
#include "base/win/scoped_bstr.h"
#include "base/win/scoped_comptr.h"
#include "base/win/scoped_hdc.h"
@@ -110,8 +110,7 @@
namespace cloud_print {
-class PrintSystemWatcherWin
- : public base::ObjectWatcher::Delegate {
+class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
public:
PrintSystemWatcherWin()
: printer_(NULL),
@@ -224,7 +223,7 @@
}
private:
- base::ObjectWatcher watcher_;
+ base::win::ObjectWatcher watcher_;
HANDLE printer_; // The printer being watched
HANDLE printer_change_; // Returned by FindFirstPrinterChangeNotifier
Delegate* delegate_; // Delegate to notify
« no previous file with comments | « chrome/common/service_process_util_win.cc ('k') | chrome_frame/test/win_event_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698