process_startup_helper.h 710 B

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