Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: chrome/common/crash_keys.cc

Issue 2486673007: Revert of Add crash keys to TaskQueueManager::ProcessTaskFromWorkQueue (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
236 { "swdh_register_cannot_scope_url", crash_keys::kLargeSize }, 236 { "swdh_register_cannot_scope_url", crash_keys::kLargeSize },
237 { "swdh_register_cannot_script_url", crash_keys::kLargeSize }, 237 { "swdh_register_cannot_script_url", crash_keys::kLargeSize },
238 238
239 // Temporary for https://crbug.com/619294. 239 // Temporary for https://crbug.com/619294.
240 { "swdh_unregister_cannot_host_url", crash_keys::kLargeSize }, 240 { "swdh_unregister_cannot_host_url", crash_keys::kLargeSize },
241 { "swdh_unregister_cannot_scope_url", crash_keys::kLargeSize }, 241 { "swdh_unregister_cannot_scope_url", crash_keys::kLargeSize },
242 242
243 // Temporary for https://crbug.com/630496. 243 // Temporary for https://crbug.com/630496.
244 { "swdh_get_registration_cannot_host_url", crash_keys::kLargeSize }, 244 { "swdh_get_registration_cannot_host_url", crash_keys::kLargeSize },
245 { "swdh_get_registration_cannot_document_url", crash_keys::kLargeSize }, 245 { "swdh_get_registration_cannot_document_url", crash_keys::kLargeSize },
246
247 // Temporary for https://crbug.com/660427.
248 { "blink_scheduler_task_function_name", kMediumSize },
249 { "blink_scheduler_task_file_name", kMediumSize },
250 }; 246 };
251 247
252 // This dynamic set of keys is used for sets of key value pairs when gathering 248 // This dynamic set of keys is used for sets of key value pairs when gathering
253 // a collection of data, like command line switches or extension IDs. 249 // a collection of data, like command line switches or extension IDs.
254 std::vector<base::debug::CrashKey> keys( 250 std::vector<base::debug::CrashKey> keys(
255 fixed_keys, fixed_keys + arraysize(fixed_keys)); 251 fixed_keys, fixed_keys + arraysize(fixed_keys));
256 252
257 crash_keys::GetCrashKeysForCommandLineSwitches(&keys); 253 crash_keys::GetCrashKeysForCommandLineSwitches(&keys);
258 254
259 // Register the extension IDs. 255 // Register the extension IDs.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 } 372 }
377 373
378 ScopedPrinterInfo::~ScopedPrinterInfo() { 374 ScopedPrinterInfo::~ScopedPrinterInfo() {
379 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 375 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
380 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 376 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
381 base::debug::ClearCrashKey(key); 377 base::debug::ClearCrashKey(key);
382 } 378 }
383 } 379 }
384 380
385 } // namespace crash_keys 381 } // namespace crash_keys
OLDNEW
« no previous file with comments | « chrome/app/chrome_crash_reporter_client_win.cc ('k') | third_party/WebKit/Source/platform/scheduler/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698