diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-18 08:09:32 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-18 08:09:32 +0000 |
commit | 8ab19f698d84afb4ec3549f79366c0c1cb0aaeae (patch) | |
tree | eda9a3af5aee6ecf72af053ca74a8bdb73a71e3c /base | |
parent | ed8f4eb15489241616e8e7374731c203bc3a02f3 (diff) | |
download | chromium_src-8ab19f698d84afb4ec3549f79366c0c1cb0aaeae.zip chromium_src-8ab19f698d84afb4ec3549f79366c0c1cb0aaeae.tar.gz chromium_src-8ab19f698d84afb4ec3549f79366c0c1cb0aaeae.tar.bz2 |
Remove dependency from breakpad files on chrome switches.
BUG=247431
R=mark@chromium.org
Review URL: https://codereview.chromium.org/19556005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212276 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/base_switches.cc | 8 | ||||
-rw-r--r-- | base/base_switches.h | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc index f0ac32b..bdd7b62 100644 --- a/base/base_switches.cc +++ b/base/base_switches.cc @@ -49,4 +49,12 @@ const char kWaitForDebugger[] = "wait-for-debugger"; // Sends a pretty-printed version of tracing info to the console. const char kTraceToConsole[] = "trace-to-console"; +#if defined(OS_POSIX) +// A flag, generated internally for renderer and other helper process command +// lines on Linux and Mac. It tells the helper process to enable crash dumping +// and reporting, because helpers cannot access the files needed to make this +// decision. +const char kEnableCrashReporter[] = "enable-crash-reporter"; +#endif + } // namespace switches diff --git a/base/base_switches.h b/base/base_switches.h index 464493a..7686e76 100644 --- a/base/base_switches.h +++ b/base/base_switches.h @@ -7,6 +7,8 @@ #ifndef BASE_BASE_SWITCHES_H_ #define BASE_BASE_SWITCHES_H_ +#include "build/build_config.h" + namespace switches { extern const char kDebugOnStart[]; @@ -20,6 +22,10 @@ extern const char kVModule[]; extern const char kWaitForDebugger[]; extern const char kTraceToConsole[]; +#if defined(OS_POSIX) +extern const char kEnableCrashReporter[]; +#endif + } // namespace switches #endif // BASE_BASE_SWITCHES_H_ |