diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-07 08:35:29 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-07 08:35:29 +0000 |
commit | 6664958acde27d18518aeafa1e8fe7cafe289f81 (patch) | |
tree | 6faf0242eb85f19d26de2e0d78f24cb5ebbcb85a /chrome/app/chrome_breakpad_client.h | |
parent | 2da86252173ef56798a5a2b910ceb245d5bdad99 (diff) | |
download | chromium_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 'chrome/app/chrome_breakpad_client.h')
-rw-r--r-- | chrome/app/chrome_breakpad_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/chrome_breakpad_client.h b/chrome/app/chrome_breakpad_client.h index 78f54f6..10d0980 100644 --- a/chrome/app/chrome_breakpad_client.h +++ b/chrome/app/chrome_breakpad_client.h @@ -54,9 +54,9 @@ class ChromeBreakpadClient : public breakpad::BreakpadClient { virtual bool IsRunningUnattended() OVERRIDE; -#if defined(OS_WIN) || defined(OS_MACOSX) virtual bool GetCollectStatsConsent() OVERRIDE; +#if defined(OS_WIN) || defined(OS_MACOSX) virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) OVERRIDE; #endif |