| 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/atomicops.h" | 7 #include "base/atomicops.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/environment.h" | 9 #include "base/environment.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "base/file_version_info.h" | 28 #include "base/file_version_info.h" |
| 29 #include "base/win/registry.h" | 29 #include "base/win/registry.h" |
| 30 #include "chrome/installer/util/google_chrome_sxs_distribution.h" | 30 #include "chrome/installer/util/google_chrome_sxs_distribution.h" |
| 31 #include "chrome/installer/util/install_util.h" | 31 #include "chrome/installer/util/install_util.h" |
| 32 #include "chrome/installer/util/util_constants.h" | 32 #include "chrome/installer/util/util_constants.h" |
| 33 #include "policy/policy_constants.h" | 33 #include "policy/policy_constants.h" |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) | 36 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) |
| 37 #include "chrome/browser/crash_upload_list.h" | 37 #include "chrome/browser/crash_upload_list.h" |
| 38 #include "chrome/common/chrome_version_info_posix.h" | 38 #include "chrome/common/chrome_version_info_values.h" |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #if defined(OS_POSIX) | 41 #if defined(OS_POSIX) |
| 42 #include "base/debug/dump_without_crashing.h" | 42 #include "base/debug/dump_without_crashing.h" |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #if defined(OS_ANDROID) | 45 #if defined(OS_ANDROID) |
| 46 #include "chrome/common/descriptors_android.h" | 46 #include "chrome/common/descriptors_android.h" |
| 47 #endif | 47 #endif |
| 48 | 48 |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 bool ChromeCrashReporterClient::EnableBreakpadForProcess( | 373 bool ChromeCrashReporterClient::EnableBreakpadForProcess( |
| 374 const std::string& process_type) { | 374 const std::string& process_type) { |
| 375 return process_type == switches::kRendererProcess || | 375 return process_type == switches::kRendererProcess || |
| 376 process_type == switches::kPluginProcess || | 376 process_type == switches::kPluginProcess || |
| 377 process_type == switches::kPpapiPluginProcess || | 377 process_type == switches::kPpapiPluginProcess || |
| 378 process_type == switches::kZygoteProcess || | 378 process_type == switches::kZygoteProcess || |
| 379 process_type == switches::kGpuProcess; | 379 process_type == switches::kGpuProcess; |
| 380 } | 380 } |
| 381 | 381 |
| 382 } // namespace chrome | 382 } // namespace chrome |
| OLD | NEW |