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

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

Issue 2346353002: Revert of Set crash key if WM_QUIT message is received on GPU message loop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 months 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
« no previous file with comments | « chrome/app/chrome_crash_reporter_client_win.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 { "swdh_register_cannot_scope_url", crash_keys::kLargeSize }, 221 { "swdh_register_cannot_scope_url", crash_keys::kLargeSize },
222 { "swdh_register_cannot_script_url", crash_keys::kLargeSize }, 222 { "swdh_register_cannot_script_url", crash_keys::kLargeSize },
223 223
224 // Temporary for https://crbug.com/619294. 224 // Temporary for https://crbug.com/619294.
225 { "swdh_unregister_cannot_host_url", crash_keys::kLargeSize }, 225 { "swdh_unregister_cannot_host_url", crash_keys::kLargeSize },
226 { "swdh_unregister_cannot_scope_url", crash_keys::kLargeSize }, 226 { "swdh_unregister_cannot_scope_url", crash_keys::kLargeSize },
227 227
228 // Temporary for https://crbug.com/630496. 228 // Temporary for https://crbug.com/630496.
229 { "swdh_get_registration_cannot_host_url", crash_keys::kLargeSize }, 229 { "swdh_get_registration_cannot_host_url", crash_keys::kLargeSize },
230 { "swdh_get_registration_cannot_document_url", crash_keys::kLargeSize }, 230 { "swdh_get_registration_cannot_document_url", crash_keys::kLargeSize },
231
232 // Temporary for https://crbug.com/647068.
233 { "received_quit_message", crash_keys::kSmallSize },
234 }; 231 };
235 232
236 // This dynamic set of keys is used for sets of key value pairs when gathering 233 // This dynamic set of keys is used for sets of key value pairs when gathering
237 // a collection of data, like command line switches or extension IDs. 234 // a collection of data, like command line switches or extension IDs.
238 std::vector<base::debug::CrashKey> keys( 235 std::vector<base::debug::CrashKey> keys(
239 fixed_keys, fixed_keys + arraysize(fixed_keys)); 236 fixed_keys, fixed_keys + arraysize(fixed_keys));
240 237
241 crash_keys::GetCrashKeysForCommandLineSwitches(&keys); 238 crash_keys::GetCrashKeysForCommandLineSwitches(&keys);
242 239
243 // Register the extension IDs. 240 // Register the extension IDs.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 } 365 }
369 366
370 ScopedPrinterInfo::~ScopedPrinterInfo() { 367 ScopedPrinterInfo::~ScopedPrinterInfo() {
371 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 368 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
372 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 369 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
373 base::debug::ClearCrashKey(key); 370 base::debug::ClearCrashKey(key);
374 } 371 }
375 } 372 }
376 373
377 } // namespace crash_keys 374 } // namespace crash_keys
OLDNEW
« no previous file with comments | « chrome/app/chrome_crash_reporter_client_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698