summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_breakpad_client.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 12:56:28 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 12:56:28 +0000
commitaee861165564fe84986e5fb895b82e93c19fa8c9 (patch)
tree1c67dc832c71f77bc344498d66559ed4b7afd63c /chrome/app/chrome_breakpad_client.cc
parent1a82f7376ac4e974f9030358bc1fdf1d9f56a579 (diff)
downloadchromium_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.cc9
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