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

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

Issue 2133743002: Removes crash keys for crbug.com/621730 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 { "initrf_parent_is_in_same_site_instance", kSmallSize}, 187 { "initrf_parent_is_in_same_site_instance", kSmallSize},
188 { "initrf_parent_process_is_live", kSmallSize}, 188 { "initrf_parent_process_is_live", kSmallSize},
189 { "initrf_root_is_in_same_site_instance", kSmallSize}, 189 { "initrf_root_is_in_same_site_instance", kSmallSize},
190 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, 190 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize},
191 { "initrf_root_process_is_live", kSmallSize}, 191 { "initrf_root_process_is_live", kSmallSize},
192 { "initrf_root_proxy_is_live", kSmallSize}, 192 { "initrf_root_proxy_is_live", kSmallSize},
193 193
194 // Temporary for https://crbug.com/612711. 194 // Temporary for https://crbug.com/612711.
195 { "aci_wrong_sp_extension_id", kSmallSize }, 195 { "aci_wrong_sp_extension_id", kSmallSize },
196 196
197 // Temporary for http://crbug.com/621730
198 { "postmessage_src_origin", kMediumSize },
199 { "postmessage_dst_origin", kMediumSize },
200 { "postmessage_dst_url", kLargeSize },
201 { "postmessage_script_info", kLargeSize },
202
203 // Temporary for https://crbug.com/616149. 197 // Temporary for https://crbug.com/616149.
204 { "existing_extension_pref_value_type", crash_keys::kSmallSize }, 198 { "existing_extension_pref_value_type", crash_keys::kSmallSize },
205 }; 199 };
206 200
207 // This dynamic set of keys is used for sets of key value pairs when gathering 201 // This dynamic set of keys is used for sets of key value pairs when gathering
208 // a collection of data, like command line switches or extension IDs. 202 // a collection of data, like command line switches or extension IDs.
209 std::vector<base::debug::CrashKey> keys( 203 std::vector<base::debug::CrashKey> keys(
210 fixed_keys, fixed_keys + arraysize(fixed_keys)); 204 fixed_keys, fixed_keys + arraysize(fixed_keys));
211 205
212 crash_keys::GetCrashKeysForCommandLineSwitches(&keys); 206 crash_keys::GetCrashKeysForCommandLineSwitches(&keys);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 } 333 }
340 334
341 ScopedPrinterInfo::~ScopedPrinterInfo() { 335 ScopedPrinterInfo::~ScopedPrinterInfo() {
342 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 336 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
343 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 337 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
344 base::debug::ClearCrashKey(key); 338 base::debug::ClearCrashKey(key);
345 } 339 }
346 } 340 }
347 341
348 } // namespace crash_keys 342 } // namespace crash_keys
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698