blob: 145979d0451ea3bbf5832e69bbdd8dd382a92ecb [file] [log] [blame]
manzagopf2322662016-09-27 11:39:591// Copyright 2016 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
manzagop6d149912016-12-19 20:17:095#ifndef COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_
6#define COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_
7
8#include <stdint.h>
manzagopf2322662016-09-27 11:39:599
manzagop6d149912016-12-19 20:17:0910#include "base/strings/string_piece.h"
manzagopf2322662016-09-27 11:39:5911
12namespace browser_watcher {
13
manzagop6d149912016-12-19 20:17:0914// Adds or updates the global stability user data.
manzagopba8991e2017-05-08 21:05:2115void SetStabilityDataBool(base::StringPiece name, bool value);
manzagop6d149912016-12-19 20:17:0916void SetStabilityDataInt(base::StringPiece name, int64_t value);
17
manzagope17e32d2017-06-14 20:51:2718// Registers a vectored exception handler that stores exception details to the
19// stability file.
20void RegisterStabilityVEH();
21
manzagopf2322662016-09-27 11:39:5922} // namespace browser_watcher
23
manzagop6d149912016-12-19 20:17:0924#endif // COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_H_