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

Side by Side Diff: chrome/common/dump_without_crashing.h

Issue 12090096: Split DumpWithoutCrashing() into a separate file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows build Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 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.
4
5 #ifndef CHROME_COMMON_DUMP_WITHOUT_CRASHING_H__
Lei Zhang 2013/01/31 21:56:22 nit: one underscore at the end. I realize logging_
Mark Seaborn 2013/01/31 23:09:26 Done.
6 #define CHROME_COMMON_DUMP_WITHOUT_CRASHING_H__
7
8 namespace logging {
9
10 // Handler to silently dump the current process without crashing.
11 void DumpWithoutCrashing();
12
13 #if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX)
14 // Sets a function that'll be invoked to dump the current process when
15 // DumpWithoutCrashing() is called.
16 void SetDumpWithoutCrashingFunction(void (*function)());
17 #endif
18
19 } // namespace logging
20
21 #endif // CHROME_COMMON_DUMP_WITHOUT_CRASHING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698