| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/common/crash_keys.h" | 5 #include "chrome/common/crash_keys.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/format_macros.h" | 9 #include "base/format_macros.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 // constant. | 236 // constant. |
| 237 "channel", // switches::kProcessChannelID | 237 "channel", // switches::kProcessChannelID |
| 238 #else | 238 #else |
| 239 switches::kProcessChannelID, | 239 switches::kProcessChannelID, |
| 240 #endif | 240 #endif |
| 241 switches::kProcessType, | 241 switches::kProcessType, |
| 242 switches::kV, | 242 switches::kV, |
| 243 switches::kVModule, | 243 switches::kVModule, |
| 244 #if defined(OS_WIN) | 244 #if defined(OS_WIN) |
| 245 switches::kForceFieldTrials, | 245 switches::kForceFieldTrials, |
| 246 switches::kPluginPath, | |
| 247 #elif defined(OS_MACOSX) | 246 #elif defined(OS_MACOSX) |
| 248 switches::kMetricsClientID, | 247 switches::kMetricsClientID, |
| 249 #elif defined(OS_CHROMEOS) | 248 #elif defined(OS_CHROMEOS) |
| 250 switches::kPpapiFlashArgs, | 249 switches::kPpapiFlashArgs, |
| 251 switches::kPpapiFlashPath, | 250 switches::kPpapiFlashPath, |
| 252 switches::kRegisterPepperPlugins, | 251 switches::kRegisterPepperPlugins, |
| 253 switches::kUIPrioritizeInGpuProcess, | 252 switches::kUIPrioritizeInGpuProcess, |
| 254 switches::kUseGL, | 253 switches::kUseGL, |
| 255 switches::kUserDataDir, | 254 switches::kUserDataDir, |
| 256 // Cros/CC flags are specified as raw strings to avoid dependency. | 255 // Cros/CC flags are specified as raw strings to avoid dependency. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 } | 320 } |
| 322 | 321 |
| 323 ScopedPrinterInfo::~ScopedPrinterInfo() { | 322 ScopedPrinterInfo::~ScopedPrinterInfo() { |
| 324 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 323 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
| 325 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 324 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
| 326 base::debug::ClearCrashKey(key); | 325 base::debug::ClearCrashKey(key); |
| 327 } | 326 } |
| 328 } | 327 } |
| 329 | 328 |
| 330 } // namespace crash_keys | 329 } // namespace crash_keys |
| OLD | NEW |