1 // Copyright 2015 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef BASE_WIN_PROCESS_STARTUP_HELPER_H_ 6 #define BASE_WIN_PROCESS_STARTUP_HELPER_H_ 7 8 #include "base/base_export.h" 9 10 namespace base { 11 12 class CommandLine; 13 14 namespace win { 15 16 // Register the invalid param handler and pure call handler to be able to 17 // notify breakpad when it happens. 18 BASE_EXPORT void RegisterInvalidParamHandler(); 19 20 // Sets up the CRT's debugging macros to output to stdout. 21 BASE_EXPORT void SetupCRT(const CommandLine& command_line); 22 23 } // namespace win 24 } // namespace base 25 26 #endif // BASE_WIN_PROCESS_STARTUP_HELPER_H_ 27