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" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 #if defined(OS_ANDROID) | 60 #if defined(OS_ANDROID) |
61 int ShellCrashReporterClient::GetAndroidMinidumpDescriptor() { | 61 int ShellCrashReporterClient::GetAndroidMinidumpDescriptor() { |
62 return kAndroidMinidumpDescriptor; | 62 return kAndroidMinidumpDescriptor; |
63 } | 63 } |
64 #endif | 64 #endif |
65 | 65 |
66 bool ShellCrashReporterClient::EnableBreakpadForProcess( | 66 bool ShellCrashReporterClient::EnableBreakpadForProcess( |
67 const std::string& process_type) { | 67 const std::string& process_type) { |
68 return process_type == switches::kRendererProcess || | 68 return process_type == switches::kRendererProcess || |
69 process_type == switches::kPluginProcess || | |
70 process_type == switches::kPpapiPluginProcess || | 69 process_type == switches::kPpapiPluginProcess || |
71 process_type == switches::kZygoteProcess || | 70 process_type == switches::kZygoteProcess || |
72 process_type == switches::kGpuProcess; | 71 process_type == switches::kGpuProcess; |
73 } | 72 } |
74 | 73 |
75 } // namespace content | 74 } // namespace content |
OLD | NEW |