OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H__ | 5 #ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_ |
6 #define WEBKIT_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H__ | 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/thread.h" | 11 #include "base/thread.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 | 13 |
14 // Provides the plugin installation job monitoring functionality. | 14 // Provides the plugin installation job monitoring functionality. |
15 // The PluginInstallationJobMonitorThread class represents a background | 15 // The PluginInstallationJobMonitorThread class represents a background |
16 // thread which monitors the install job completion port which is associated | 16 // thread which monitors the install job completion port which is associated |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 bool stop_job_monitoring_; | 71 bool stop_job_monitoring_; |
72 // The install job. Should be created before the job monitor thread | 72 // The install job. Should be created before the job monitor thread |
73 // is started. | 73 // is started. |
74 HANDLE install_job_; | 74 HANDLE install_job_; |
75 // The plugin window handle. | 75 // The plugin window handle. |
76 HWND plugin_window_; | 76 HWND plugin_window_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(PluginInstallationJobMonitorThread); | 78 DISALLOW_COPY_AND_ASSIGN(PluginInstallationJobMonitorThread); |
79 }; | 79 }; |
80 | 80 |
81 #endif // WEBKIT_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H__ | 81 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_ |
OLD | NEW |