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

Unified Diff: handler/win/crashy_test_z7_loader.cc

Issue 1406993008: win: Rename CrashpadClient::SetHandler() to SetHandlerIPCPipe() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Revise comment Created 5 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
« no previous file with comments | « handler/win/crashy_test_program.cc ('k') | handler/win/self_destroying_test_program.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: handler/win/crashy_test_z7_loader.cc
diff --git a/handler/win/crashy_test_z7_loader.cc b/handler/win/crashy_test_z7_loader.cc
index 4788dbe9afcda7e3913a119fe0b5af9b23523f41..284afa8654ed53fef429749a375536b09d993f66 100644
--- a/handler/win/crashy_test_z7_loader.cc
+++ b/handler/win/crashy_test_z7_loader.cc
@@ -20,7 +20,6 @@
#include "build/build_config.h"
#include "client/crashpad_client.h"
#include "test/paths.h"
-#include "tools/tool_support.h"
#if !defined(ARCH_CPU_X86)
#error This test is only supported on x86.
@@ -29,14 +28,14 @@
namespace crashpad {
namespace {
-int CrashyLoadZ7Main(int argc, char* argv[]) {
+int CrashyLoadZ7Main(int argc, wchar_t* argv[]) {
if (argc != 2) {
- fprintf(stderr, "Usage: %s <server_pipe_name>\n", argv[0]);
+ fprintf(stderr, "Usage: %ls <server_pipe_name>\n", argv[0]);
return EXIT_FAILURE;
}
CrashpadClient client;
- if (!client.SetHandler(argv[1])) {
+ if (!client.SetHandlerIPCPipe(argv[1])) {
LOG(ERROR) << "SetHandler";
return EXIT_FAILURE;
}
@@ -69,5 +68,5 @@ int CrashyLoadZ7Main(int argc, char* argv[]) {
} // namespace crashpad
int wmain(int argc, wchar_t* argv[]) {
- return crashpad::ToolSupport::Wmain(argc, argv, crashpad::CrashyLoadZ7Main);
+ return crashpad::CrashyLoadZ7Main(argc, argv);
}
« no previous file with comments | « handler/win/crashy_test_program.cc ('k') | handler/win/self_destroying_test_program.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698