Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 | |
| 5 #ifndef BASE_WIN_DLLMAIN_H_ | |
| 6 #define BASE_WIN_DLLMAIN_H_ | |
|
rvargas (doing something else)
2012/03/21 03:13:45
This file should be added to base.gyp. (or some fo
| |
| 7 | |
| 8 namespace base { | |
| 9 namespace win { | |
| 10 | |
| 11 // Sets whether to crash the process during exit. This is used to intercept | |
| 12 // unexpected terminations of the process (via calls to exit(), abort(), | |
| 13 // _exit(), ExitProcess()), and convert them into crashes. Note that not all | |
| 14 // mechanisms for terminating the process are covered by this. For instance, | |
| 15 // TerminateProcess() is not caught. | |
| 16 void DLLMain_SetCrashOnProcessDetach(bool crash); | |
| 17 | |
| 18 } // namespace win | |
| 19 } // namespace base | |
| 20 | |
| 21 #endif // BASE_WIN_DLLMAIN_H_ | |
| OLD | NEW |