| 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/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/format_macros.h" | 8 #include "base/format_macros.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 "child-wallpaper-small", | 328 "child-wallpaper-small", |
| 329 "default-wallpaper-large", | 329 "default-wallpaper-large", |
| 330 "default-wallpaper-small", | 330 "default-wallpaper-small", |
| 331 "guest-wallpaper-large", | 331 "guest-wallpaper-large", |
| 332 "guest-wallpaper-small", | 332 "guest-wallpaper-small", |
| 333 "enterprise-enable-forced-re-enrollment", | 333 "enterprise-enable-forced-re-enrollment", |
| 334 "enterprise-enrollment-initial-modulus", | 334 "enterprise-enrollment-initial-modulus", |
| 335 "enterprise-enrollment-modulus-limit", | 335 "enterprise-enrollment-modulus-limit", |
| 336 "login-profile", | 336 "login-profile", |
| 337 "login-user", | 337 "login-user", |
| 338 "max-tiles-for-interest-area", | |
| 339 "max-unused-resource-memory-usage-percentage", | 338 "max-unused-resource-memory-usage-percentage", |
| 340 "termination-message-file", | 339 "termination-message-file", |
| 341 "use-cras", | 340 "use-cras", |
| 342 #endif | 341 #endif |
| 343 }; | 342 }; |
| 344 | 343 |
| 345 #if defined(OS_WIN) | 344 #if defined(OS_WIN) |
| 346 // Just about everything has this, don't bother. | 345 // Just about everything has this, don't bother. |
| 347 if (base::StartsWith(flag, "/prefetch:", base::CompareCase::SENSITIVE)) | 346 if (base::StartsWith(flag, "/prefetch:", base::CompareCase::SENSITIVE)) |
| 348 return true; | 347 return true; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 } | 445 } |
| 447 | 446 |
| 448 ScopedPrinterInfo::~ScopedPrinterInfo() { | 447 ScopedPrinterInfo::~ScopedPrinterInfo() { |
| 449 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 448 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
| 450 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 449 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
| 451 base::debug::ClearCrashKey(key); | 450 base::debug::ClearCrashKey(key); |
| 452 } | 451 } |
| 453 } | 452 } |
| 454 | 453 |
| 455 } // namespace crash_keys | 454 } // namespace crash_keys |
| OLD | NEW |