OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_ | 5 #ifndef COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_ |
6 #define COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_ | 6 #define COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
11 | 11 |
12 namespace browser_watcher { | 12 namespace browser_watcher { |
13 | 13 |
14 // Adds or updates the global stability user data. | 14 // Adds or updates the global stability user data. |
15 void SetStabilityDataBool(base::StringPiece name, bool value); | 15 void SetStabilityDataBool(base::StringPiece name, bool value); |
16 void SetStabilityDataInt(base::StringPiece name, int64_t value); | 16 void SetStabilityDataInt(base::StringPiece name, int64_t value); |
17 | 17 |
| 18 // Registers a vectored exception handler that stores exception details to the |
| 19 // stability file. |
| 20 void RegisterStabilityVEH(); |
| 21 |
18 } // namespace browser_watcher | 22 } // namespace browser_watcher |
19 | 23 |
20 #endif // COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_ | 24 #endif // COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_ |
OLD | NEW |