Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: components/browser_watcher/stability_debugging.h

Issue 2927653003: Stability instrumentation: add a Vectored Exception Handler (Closed)
Patch Set: merge Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_field_trials_desktop.cc ('k') | components/browser_watcher/stability_debugging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698