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

Unified Diff: handler/win/self_destroying_test_program.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_z7_loader.cc ('k') | snapshot/win/crashpad_snapshot_test_crashing_child.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: handler/win/self_destroying_test_program.cc
diff --git a/handler/win/self_destroying_test_program.cc b/handler/win/self_destroying_test_program.cc
index d00fa47691173aab46f2d7663bd36989550f0717..ac358ef03a9c183c2cf63e6dd7660a0e1843c76c 100644
--- a/handler/win/self_destroying_test_program.cc
+++ b/handler/win/self_destroying_test_program.cc
@@ -21,7 +21,6 @@
#include "base/strings/stringprintf.h"
#include "client/crashpad_client.h"
#include "snapshot/win/process_reader_win.h"
-#include "tools/tool_support.h"
namespace crashpad {
namespace {
@@ -65,14 +64,14 @@ bool FreeOwnStackAndBreak() {
return true;
}
-int SelfDestroyingMain(int argc, char* argv[]) {
+int SelfDestroyingMain(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;
}
@@ -93,5 +92,5 @@ int SelfDestroyingMain(int argc, char* argv[]) {
} // namespace crashpad
int wmain(int argc, wchar_t* argv[]) {
- return crashpad::ToolSupport::Wmain(argc, argv, crashpad::SelfDestroyingMain);
+ return crashpad::SelfDestroyingMain(argc, argv);
}
« no previous file with comments | « handler/win/crashy_test_z7_loader.cc ('k') | snapshot/win/crashpad_snapshot_test_crashing_child.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698