Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_APP_BREAKPAD_WIN_H_ | 5 #ifndef CHROME_APP_BREAKPAD_WIN_H_ |
| 6 #define CHROME_APP_BREAKPAD_WIN_H_ | 6 #define CHROME_APP_BREAKPAD_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 35 void InitCrashReporter(); | 35 void InitCrashReporter(); |
| 36 | 36 |
| 37 // Intercepts a crash but does not process it, just ask if we want to restart | 37 // Intercepts a crash but does not process it, just ask if we want to restart |
| 38 // the browser or not. | 38 // the browser or not. |
| 39 void InitDefaultCrashCallback(LPTOP_LEVEL_EXCEPTION_FILTER filter); | 39 void InitDefaultCrashCallback(LPTOP_LEVEL_EXCEPTION_FILTER filter); |
| 40 | 40 |
| 41 // If chrome has been restarted because it crashed, this function will display | 41 // If chrome has been restarted because it crashed, this function will display |
| 42 // a dialog asking for permission to continue execution or to exit now. | 42 // a dialog asking for permission to continue execution or to exit now. |
| 43 bool ShowRestartDialogIfCrashed(bool* exit_now); | 43 bool ShowRestartDialogIfCrashed(bool* exit_now); |
| 44 | 44 |
| 45 // Helper to convert a vector of wstrings to corresponding vector of cstrings. | |
|
MAD
2012/05/22 14:30:49
Please add a comment that the cstrings vector can'
eroman
2012/05/22 20:33:29
Done.
| |
| 46 void StringVectorToCStringVector(const std::vector<std::wstring>& wstrings, | |
| 47 std::vector<const wchar_t*>* cstrings); | |
| 48 | |
| 45 namespace testing { | 49 namespace testing { |
| 46 | 50 |
| 47 // Testing entry point for calling a function from the unnamed namespace. | 51 // Testing entry point for calling a function from the unnamed namespace. |
| 48 void InitCustomInfoEntries(); | 52 void InitCustomInfoEntries(); |
| 49 | 53 |
| 50 } | 54 } |
| 51 | 55 |
| 52 #endif // CHROME_APP_BREAKPAD_WIN_H_ | 56 #endif // CHROME_APP_BREAKPAD_WIN_H_ |
| OLD | NEW |