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

Unified Diff: chrome/browser/hang_monitor/hung_plugin_action.cc

Issue 6019007: Remove win_util::FormatMessage and FormatLastWin32Error. These were only used... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/browser/aeropeek_manager.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/hang_monitor/hung_plugin_action.cc
===================================================================
--- chrome/browser/hang_monitor/hung_plugin_action.cc (revision 70263)
+++ chrome/browser/hang_monitor/hung_plugin_action.cc (working copy)
@@ -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 @@
// 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") {
« no previous file with comments | « chrome/browser/aeropeek_manager.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698