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" |
11 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
| 16 #include "components/flags_ui/flags_ui_switches.h" |
16 #include "content/public/common/content_switches.h" | 17 #include "content/public/common/content_switches.h" |
17 #include "ipc/ipc_switches.h" | 18 #include "ipc/ipc_switches.h" |
18 | 19 |
19 #if defined(OS_CHROMEOS) | 20 #if defined(OS_CHROMEOS) |
20 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
21 #include "gpu/command_buffer/service/gpu_switches.h" | 22 #include "gpu/command_buffer/service/gpu_switches.h" |
22 #include "ui/gl/gl_switches.h" | 23 #include "ui/gl/gl_switches.h" |
23 #endif | 24 #endif |
24 | 25 |
25 namespace crash_keys { | 26 namespace crash_keys { |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 } | 336 } |
336 | 337 |
337 ScopedPrinterInfo::~ScopedPrinterInfo() { | 338 ScopedPrinterInfo::~ScopedPrinterInfo() { |
338 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 339 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
339 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 340 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
340 base::debug::ClearCrashKey(key); | 341 base::debug::ClearCrashKey(key); |
341 } | 342 } |
342 } | 343 } |
343 | 344 |
344 } // namespace crash_keys | 345 } // namespace crash_keys |
OLD | NEW |