diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 12:56:28 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 12:56:28 +0000 |
commit | aee861165564fe84986e5fb895b82e93c19fa8c9 (patch) | |
tree | 1c67dc832c71f77bc344498d66559ed4b7afd63c /chrome/app/chrome_breakpad_client.cc | |
parent | 1a82f7376ac4e974f9030358bc1fdf1d9f56a579 (diff) | |
download | chromium_src-aee861165564fe84986e5fb895b82e93c19fa8c9.zip chromium_src-aee861165564fe84986e5fb895b82e93c19fa8c9.tar.gz chromium_src-aee861165564fe84986e5fb895b82e93c19fa8c9.tar.bz2 |
[breakpad] remove dependency on content_switches.cc
R=joi@chromium.org, scottmg@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/104593008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_breakpad_client.cc')
-rw-r--r-- | chrome/app/chrome_breakpad_client.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/app/chrome_breakpad_client.cc b/chrome/app/chrome_breakpad_client.cc index 36b50f9..84a6977 100644 --- a/chrome/app/chrome_breakpad_client.cc +++ b/chrome/app/chrome_breakpad_client.cc @@ -380,4 +380,13 @@ int ChromeBreakpadClient::GetAndroidMinidumpDescriptor() { } #endif +bool ChromeBreakpadClient::EnableBreakpadForProcess( + const std::string& process_type) { + return process_type == switches::kRendererProcess || + process_type == switches::kPluginProcess || + process_type == switches::kPpapiPluginProcess || + process_type == switches::kZygoteProcess || + process_type == switches::kGpuProcess; +} + } // namespace chrome |