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

Unified Diff: chrome/default_plugin/plugin_install_job_monitor.h

Issue 5270010: Revert 67662 - FBTF: Remove unneeded headers from base/ (part 10)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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/default_plugin/plugin_install_job_monitor.h
===================================================================
--- chrome/default_plugin/plugin_install_job_monitor.h (revision 67673)
+++ chrome/default_plugin/plugin_install_job_monitor.h (working copy)
@@ -8,6 +8,7 @@
#include <windows.h>
+#include "base/logging.h"
#include "base/thread.h"
#include "base/ref_counted.h"
@@ -15,9 +16,10 @@
// The PluginInstallationJobMonitorThread class represents a background
// thread which monitors the install job completion port which is associated
// with the job when an instance of this class is initialized.
-class PluginInstallationJobMonitorThread
- : public base::Thread,
- public base::RefCountedThreadSafe<PluginInstallationJobMonitorThread> {
+class PluginInstallationJobMonitorThread :
+ public base::Thread,
+ public base::RefCountedThreadSafe<PluginInstallationJobMonitorThread> {
+
public:
PluginInstallationJobMonitorThread();
@@ -30,7 +32,10 @@
void Stop();
// Simple setter/getters for the plugin window handle.
- void set_plugin_window(HWND plugin_window);
+ void set_plugin_window(HWND plugin_window) {
+ DCHECK(::IsWindow(plugin_window));
+ plugin_window_ = plugin_window;
+ }
HWND plugin_window() const {
return plugin_window_;
Property changes on: chrome/default_plugin/plugin_install_job_monitor.h
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « chrome/browser/worker_host/message_port_dispatcher.h ('k') | chrome/default_plugin/plugin_install_job_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698