Release the Settings API.
[chromium-blink-merge.git] / base / debug / dump_without_crashing.h
blobc46f446eee18127739129222daf7e67a2100eab5
1 // Copyright 2013 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.
5 #ifndef BASE_DEBUG_DUMP_WITHOUT_CRASHING_H_
6 #define BASE_DEBUG_DUMP_WITHOUT_CRASHING_H_
8 #include "base/base_export.h"
9 #include "base/compiler_specific.h"
10 #include "build/build_config.h"
12 namespace base {
14 namespace debug {
16 // Handler to silently dump the current process without crashing.
17 BASE_EXPORT void DumpWithoutCrashing();
19 // Sets a function that'll be invoked to dump the current process when
20 // DumpWithoutCrashing() is called.
21 BASE_EXPORT void SetDumpWithoutCrashingFunction(void (CDECL *function)());
23 } // namespace debug
25 } // namespace base
27 #endif // BASE_DEBUG_DUMP_WITHOUT_CRASHING_H_