Index: base/win/process_startup_helper.h |
diff --git a/base/win/process_startup_helper.h b/base/win/process_startup_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f59ea801ac43735354a02b2e48b0ab0e24cedf40 |
--- /dev/null |
+++ b/base/win/process_startup_helper.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef BASE_WIN_PROCESS_STARTUP_HELPER_H_ |
+#define BASE_WIN_PROCESS_STARTUP_HELPER_H_ |
+ |
+namespace base { |
+ |
+class CommandLine; |
+ |
+namespace win { |
+ |
+// Register the invalid param handler and pure call handler to be able to |
+// notify breakpad when it happens. |
+void RegisterInvalidParamHandler(); |
+ |
+// Sets up the CRT's debugging macros to output to stdout. |
+void SetupCRT(const CommandLine& command_line); |
+ |
+} // namespace win |
+} // namespace base |
+ |
+#endif // BASE_WIN_PROCESS_STARTUP_HELPER_H_ |