Index: chrome/browser/hang_monitor/hung_plugin_action.h |
diff --git a/chrome/browser/hang_monitor/hung_plugin_action.h b/chrome/browser/hang_monitor/hung_plugin_action.h |
index 4958defbfac39a9800f492ef5a99c7ae371f33cf..2d305ee10b05911d0d2ee24d3f20a1aa9e69d76c 100644 |
--- a/chrome/browser/hang_monitor/hung_plugin_action.h |
+++ b/chrome/browser/hang_monitor/hung_plugin_action.h |
@@ -6,7 +6,9 @@ |
#define CHROME_BROWSER_HANG_MONITOR_HUNG_PLUGIN_ACTION_H__ |
#pragma once |
+#include "base/string16.h" |
#include "chrome/browser/hang_monitor/hung_window_detector.h" |
+ |
// This class provides an implementation the |
// HungWindowDetector::HungWindowNotification callback interface. |
// It checks to see if the hung window belongs to a process different |
@@ -36,9 +38,10 @@ class HungPluginAction : public HungWindowDetector::HungWindowNotification { |
static BOOL CALLBACK DismissMessageBox(HWND window, LPARAM ignore); |
protected: |
- bool GetPluginName(HWND plugin_window, |
- DWORD browser_process_id, |
- std::wstring *plugin_name); |
+ bool GetPluginNameAndVersion(HWND plugin_window, |
+ DWORD browser_process_id, |
+ string16* plugin_name, |
+ string16* plugin_version); |
// The currently hung plugin window that we are prompting the user about |
HWND current_hung_plugin_window_; |
}; |