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

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

Issue 2841203003: Remove unnecessary crash keys. (Closed)
Patch Set: Created 3 years, 7 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') | chromecast/crash/cast_crash_keys.cc » ('j') | 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // Temporary for https://crbug.com/626802. 223 // Temporary for https://crbug.com/626802.
224 {"newframe_routing_id", kSmallSize}, 224 {"newframe_routing_id", kSmallSize},
225 {"newframe_proxy_id", kSmallSize}, 225 {"newframe_proxy_id", kSmallSize},
226 {"newframe_opener_id", kSmallSize}, 226 {"newframe_opener_id", kSmallSize},
227 {"newframe_parent_id", kSmallSize}, 227 {"newframe_parent_id", kSmallSize},
228 {"newframe_widget_id", kSmallSize}, 228 {"newframe_widget_id", kSmallSize},
229 {"newframe_widget_hidden", kSmallSize}, 229 {"newframe_widget_hidden", kSmallSize},
230 {"newframe_replicated_origin", kSmallSize}, 230 {"newframe_replicated_origin", kSmallSize},
231 {"newframe_oopifs_possible", kSmallSize}, 231 {"newframe_oopifs_possible", kSmallSize},
232 232
233 // Temporary for https://crbug.com/630103.
234 {"origin_mismatch_url", crash_keys::kLargeSize},
235 {"origin_mismatch_origin", crash_keys::kMediumSize},
236 {"origin_mismatch_transition", crash_keys::kSmallSize},
237 {"origin_mismatch_redirects", crash_keys::kSmallSize},
238 {"origin_mismatch_same_page", crash_keys::kSmallSize},
239
240 // Temporary for https://crbug.com/612711. 233 // Temporary for https://crbug.com/612711.
241 {"aci_wrong_sp_extension_id", kSmallSize}, 234 {"aci_wrong_sp_extension_id", kSmallSize},
242 235
243 // Temporary for https://crbug.com/668633. 236 // Temporary for https://crbug.com/668633.
244 {"swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize}, 237 {"swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize},
245 {"swdh_set_hosted_version_host_pid", crash_keys::kSmallSize}, 238 {"swdh_set_hosted_version_host_pid", crash_keys::kSmallSize},
246 {"swdh_set_hosted_version_is_new_process", crash_keys::kSmallSize}, 239 {"swdh_set_hosted_version_is_new_process", crash_keys::kSmallSize},
247 {"swdh_set_hosted_version_restart_count", crash_keys::kSmallSize}, 240 {"swdh_set_hosted_version_restart_count", crash_keys::kSmallSize},
248 241
249 // Temporary for https://crbug.com/697745. 242 // Temporary for https://crbug.com/697745.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 } 372 }
380 373
381 ScopedPrinterInfo::~ScopedPrinterInfo() { 374 ScopedPrinterInfo::~ScopedPrinterInfo() {
382 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 375 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
383 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 376 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
384 base::debug::ClearCrashKey(key); 377 base::debug::ClearCrashKey(key);
385 } 378 }
386 } 379 }
387 380
388 } // namespace crash_keys 381 } // namespace crash_keys
OLDNEW
« no previous file with comments | « chrome/app/chrome_crash_reporter_client_win.cc ('k') | chromecast/crash/cast_crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698