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

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

Issue 18770006: Remove USE_LINUX_BREAKPAD ifdef since we don't need it for chromium anymore. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: lei's comments + sync Created 7 years, 5 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
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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 CHROME_COMMON_DUMP_WITHOUT_CRASHING_H_ 5 #ifndef CHROME_COMMON_DUMP_WITHOUT_CRASHING_H_
6 #define CHROME_COMMON_DUMP_WITHOUT_CRASHING_H_ 6 #define CHROME_COMMON_DUMP_WITHOUT_CRASHING_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 namespace logging { 10 namespace logging {
11 11
12 // Handler to silently dump the current process without crashing. 12 // Handler to silently dump the current process without crashing.
13 void DumpWithoutCrashing(); 13 void DumpWithoutCrashing();
14 14
15 #if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX) 15 #if defined(OS_POSIX)
16 // Sets a function that'll be invoked to dump the current process when 16 // Sets a function that'll be invoked to dump the current process when
17 // DumpWithoutCrashing() is called. 17 // DumpWithoutCrashing() is called.
18 void SetDumpWithoutCrashingFunction(void (*function)()); 18 void SetDumpWithoutCrashingFunction(void (*function)());
19 #endif 19 #endif
20 20
21 } // namespace logging 21 } // namespace logging
22 22
23 #endif // CHROME_COMMON_DUMP_WITHOUT_CRASHING_H_ 23 #endif // CHROME_COMMON_DUMP_WITHOUT_CRASHING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698