| 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 "chrome/app/chrome_crash_reporter_client.h" | 5 #include "chrome/app/chrome_crash_reporter_client.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/environment.h" | 8 #include "base/environment.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 | 340 |
| 341 #if defined(OS_ANDROID) | 341 #if defined(OS_ANDROID) |
| 342 int ChromeCrashReporterClient::GetAndroidMinidumpDescriptor() { | 342 int ChromeCrashReporterClient::GetAndroidMinidumpDescriptor() { |
| 343 return kAndroidMinidumpDescriptor; | 343 return kAndroidMinidumpDescriptor; |
| 344 } | 344 } |
| 345 #endif | 345 #endif |
| 346 | 346 |
| 347 bool ChromeCrashReporterClient::EnableBreakpadForProcess( | 347 bool ChromeCrashReporterClient::EnableBreakpadForProcess( |
| 348 const std::string& process_type) { | 348 const std::string& process_type) { |
| 349 return process_type == switches::kRendererProcess || | 349 return process_type == switches::kRendererProcess || |
| 350 process_type == switches::kPluginProcess || | |
| 351 process_type == switches::kPpapiPluginProcess || | 350 process_type == switches::kPpapiPluginProcess || |
| 352 process_type == switches::kZygoteProcess || | 351 process_type == switches::kZygoteProcess || |
| 353 process_type == switches::kGpuProcess; | 352 process_type == switches::kGpuProcess; |
| 354 } | 353 } |
| OLD | NEW |