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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 | 350 |
351 #if defined(OS_ANDROID) | 351 #if defined(OS_ANDROID) |
352 int ChromeCrashReporterClient::GetAndroidMinidumpDescriptor() { | 352 int ChromeCrashReporterClient::GetAndroidMinidumpDescriptor() { |
353 return kAndroidMinidumpDescriptor; | 353 return kAndroidMinidumpDescriptor; |
354 } | 354 } |
355 #endif | 355 #endif |
356 | 356 |
357 bool ChromeCrashReporterClient::EnableBreakpadForProcess( | 357 bool ChromeCrashReporterClient::EnableBreakpadForProcess( |
358 const std::string& process_type) { | 358 const std::string& process_type) { |
359 return process_type == switches::kRendererProcess || | 359 return process_type == switches::kRendererProcess || |
360 process_type == switches::kPluginProcess || | |
361 process_type == switches::kPpapiPluginProcess || | 360 process_type == switches::kPpapiPluginProcess || |
362 process_type == switches::kZygoteProcess || | 361 process_type == switches::kZygoteProcess || |
363 process_type == switches::kGpuProcess; | 362 process_type == switches::kGpuProcess; |
364 } | 363 } |
OLD | NEW |