summaryrefslogtreecommitdiffstats
path: root/chrome/browser/hang_monitor
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 15:38:47 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 15:38:47 +0000
commitfff369b8be4e7df5af4f9c2cedd29234248fd35b (patch)
tree4e6494c94c2cb379273ab1beab20c0c142485601 /chrome/browser/hang_monitor
parentc376c45bd9f166acbdc776c640161d7fbd5956a4 (diff)
downloadchromium_src-fff369b8be4e7df5af4f9c2cedd29234248fd35b.zip
chromium_src-fff369b8be4e7df5af4f9c2cedd29234248fd35b.tar.gz
chromium_src-fff369b8be4e7df5af4f9c2cedd29234248fd35b.tar.bz2
Remove win_util::FormatMessage and FormatLastWin32Error. These were only used in a couple of diagnostic places and one can always use the "Error Lookup" utility.
Move window HWND-specific functions from base/win_util.h to a new file app/win/hwnd_util.h. I plan to put some more stuff from app/win_util into this file as well. Move gfx/window_impl.h into app/win TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6019007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/hang_monitor')
-rw-r--r--chrome/browser/hang_monitor/hung_plugin_action.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/hang_monitor/hung_plugin_action.cc b/chrome/browser/hang_monitor/hung_plugin_action.cc
index 9b719ca..b7a937c 100644
--- a/chrome/browser/hang_monitor/hung_plugin_action.cc
+++ b/chrome/browser/hang_monitor/hung_plugin_action.cc
@@ -7,8 +7,8 @@
#include "chrome/browser/hang_monitor/hung_plugin_action.h"
#include "app/l10n_util.h"
+#include "app/win/hwnd_util.h"
#include "app/win_util.h"
-#include "base/win_util.h"
#include "chrome/browser/platform_util.h"
#include "chrome/common/logging_chrome.h"
#include "grit/generated_resources.h"
@@ -133,7 +133,7 @@ bool HungPluginAction::GetPluginName(HWND plugin_window,
// static
BOOL CALLBACK HungPluginAction::DismissMessageBox(HWND window, LPARAM ignore) {
- std::wstring class_name = win_util::GetClassNameW(window);
+ string16 class_name = app::win::GetClassName(window);
// #32770 is the dialog window class which is the window class of
// the message box being displayed.
if (class_name == L"#32770") {