| 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" |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "build/build_config.h" |
| 14 #include "chrome/common/chrome_constants.h" | 15 #include "chrome/common/chrome_constants.h" |
| 15 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
| 16 #include "chrome/common/chrome_result_codes.h" | 17 #include "chrome/common/chrome_result_codes.h" |
| 17 #include "chrome/common/crash_keys.h" | 18 #include "chrome/common/crash_keys.h" |
| 18 #include "chrome/common/env_vars.h" | 19 #include "chrome/common/env_vars.h" |
| 19 #include "chrome/installer/util/browser_distribution.h" | 20 #include "chrome/installer/util/browser_distribution.h" |
| 20 #include "chrome/installer/util/google_update_settings.h" | 21 #include "chrome/installer/util/google_update_settings.h" |
| 21 #include "content/public/common/content_switches.h" | 22 #include "content/public/common/content_switches.h" |
| 22 | 23 |
| 23 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 #endif | 354 #endif |
| 354 | 355 |
| 355 bool ChromeCrashReporterClient::EnableBreakpadForProcess( | 356 bool ChromeCrashReporterClient::EnableBreakpadForProcess( |
| 356 const std::string& process_type) { | 357 const std::string& process_type) { |
| 357 return process_type == switches::kRendererProcess || | 358 return process_type == switches::kRendererProcess || |
| 358 process_type == switches::kPluginProcess || | 359 process_type == switches::kPluginProcess || |
| 359 process_type == switches::kPpapiPluginProcess || | 360 process_type == switches::kPpapiPluginProcess || |
| 360 process_type == switches::kZygoteProcess || | 361 process_type == switches::kZygoteProcess || |
| 361 process_type == switches::kGpuProcess; | 362 process_type == switches::kGpuProcess; |
| 362 } | 363 } |
| OLD | NEW |