| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2006-2008 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 CHROME_APP_BREAKPAD_H_ | |
| 6 #define CHROME_APP_BREAKPAD_H_ | |
| 7 | |
| 8 #include <windows.h> | |
| 9 #include <string> | |
| 10 | |
| 11 // Calls InitCrashReporterThread in it's own thread for the browser process | |
| 12 // or directly for the plugin and renderer process. | |
| 13 void InitCrashReporter(const std::wstring& dll_path); | |
| 14 | |
| 15 // Intercepts a crash but does not process it, just ask if we want to restart | |
| 16 // the browser or not. | |
| 17 void InitDefaultCrashCallback(); | |
| 18 | |
| 19 // If chrome has been restarted because it crashed, this function will display | |
| 20 // a dialog asking for permission to continue execution or to exit now. | |
| 21 bool ShowRestartDialogIfCrashed(bool* exit_now); | |
| 22 | |
| 23 #endif // CHROME_APP_BREAKPAD_H_ | |
| OLD | NEW |