summaryrefslogtreecommitdiffstats
path: root/base/base_switches.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 08:35:29 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 08:35:29 +0000
commit6664958acde27d18518aeafa1e8fe7cafe289f81 (patch)
tree6faf0242eb85f19d26de2e0d78f24cb5ebbcb85a /base/base_switches.h
parent2da86252173ef56798a5a2b910ceb245d5bdad99 (diff)
downloadchromium_src-6664958acde27d18518aeafa1e8fe7cafe289f81.zip
chromium_src-6664958acde27d18518aeafa1e8fe7cafe289f81.tar.gz
chromium_src-6664958acde27d18518aeafa1e8fe7cafe289f81.tar.bz2
Move init of breakpad in the browser process as early as possible
On Linux and Android, we delayed initialization until the browser process was already up. That way, certain crash keys did not get registered correctly. Instead, use a similar logic than on mac and windows to determine whether we can run breakpad. In particular, this relies on the fact that the GetCollectStatsConsent() setting reflects the policy enforced value. R=mark@chromium.org, pastarmovj@chromium.org, rsesek@chromium.org BUG=311877 Review URL: https://codereview.chromium.org/61923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_switches.h')
-rw-r--r--base/base_switches.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/base_switches.h b/base/base_switches.h
index 1d8a8a8..33b2b68 100644
--- a/base/base_switches.h
+++ b/base/base_switches.h
@@ -23,6 +23,10 @@ extern const char kVModule[];
extern const char kWaitForDebugger[];
extern const char kTraceToConsole[];
+#if defined(OS_POSIX)
+extern const char kEnableCrashReporterForTesting[];
+#endif
+
} // namespace switches
#endif // BASE_BASE_SWITCHES_H_