OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/shell/app/shell_crash_reporter_client.h" | 5 #include "content/shell/app/shell_crash_reporter_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "build/build_config.h" |
11 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
12 #include "content/shell/common/shell_switches.h" | 13 #include "content/shell/common/shell_switches.h" |
13 | 14 |
14 #if defined(OS_ANDROID) | 15 #if defined(OS_ANDROID) |
15 #include "content/shell/android/shell_descriptors.h" | 16 #include "content/shell/android/shell_descriptors.h" |
16 #endif | 17 #endif |
17 | 18 |
18 namespace content { | 19 namespace content { |
19 | 20 |
20 ShellCrashReporterClient::ShellCrashReporterClient() {} | 21 ShellCrashReporterClient::ShellCrashReporterClient() {} |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 bool ShellCrashReporterClient::EnableBreakpadForProcess( | 66 bool ShellCrashReporterClient::EnableBreakpadForProcess( |
66 const std::string& process_type) { | 67 const std::string& process_type) { |
67 return process_type == switches::kRendererProcess || | 68 return process_type == switches::kRendererProcess || |
68 process_type == switches::kPluginProcess || | 69 process_type == switches::kPluginProcess || |
69 process_type == switches::kPpapiPluginProcess || | 70 process_type == switches::kPpapiPluginProcess || |
70 process_type == switches::kZygoteProcess || | 71 process_type == switches::kZygoteProcess || |
71 process_type == switches::kGpuProcess; | 72 process_type == switches::kGpuProcess; |
72 } | 73 } |
73 | 74 |
74 } // namespace content | 75 } // namespace content |
OLD | NEW |