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

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

Issue 1855383002: Add DumpWithoutCrashing to RenderFrameMessageFilter cookie kills (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@doghouse_now
Patch Set: Rebase / fix merge conficts Created 4 years, 8 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 // Temporary for https://crbug.com/591478. 177 // Temporary for https://crbug.com/591478.
178 { "initrf_parent_proxy_exists", kSmallSize }, 178 { "initrf_parent_proxy_exists", kSmallSize },
179 { "initrf_render_view_is_live", kSmallSize }, 179 { "initrf_render_view_is_live", kSmallSize },
180 { "initrf_parent_is_in_same_site_instance", kSmallSize}, 180 { "initrf_parent_is_in_same_site_instance", kSmallSize},
181 { "initrf_parent_process_is_live", kSmallSize}, 181 { "initrf_parent_process_is_live", kSmallSize},
182 { "initrf_root_is_in_same_site_instance", kSmallSize}, 182 { "initrf_root_is_in_same_site_instance", kSmallSize},
183 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, 183 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize},
184 { "initrf_root_process_is_live", kSmallSize}, 184 { "initrf_root_process_is_live", kSmallSize},
185 { "initrf_root_proxy_is_live", kSmallSize}, 185 { "initrf_root_proxy_is_live", kSmallSize},
186
187 // Temporary for https://crbug.com/600441
188 { "setcookies_url", kSmallSize },
189 { "setcookies_first_party", kSmallSize },
190 { "security_origin_lock", kSmallSize },
186 }; 191 };
187 192
188 // This dynamic set of keys is used for sets of key value pairs when gathering 193 // This dynamic set of keys is used for sets of key value pairs when gathering
189 // a collection of data, like command line switches or extension IDs. 194 // a collection of data, like command line switches or extension IDs.
190 std::vector<base::debug::CrashKey> keys( 195 std::vector<base::debug::CrashKey> keys(
191 fixed_keys, fixed_keys + arraysize(fixed_keys)); 196 fixed_keys, fixed_keys + arraysize(fixed_keys));
192 197
193 crash_keys::GetCrashKeysForCommandLineSwitches(&keys); 198 crash_keys::GetCrashKeysForCommandLineSwitches(&keys);
194 199
195 // Register the extension IDs. 200 // Register the extension IDs.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 } 326 }
322 327
323 ScopedPrinterInfo::~ScopedPrinterInfo() { 328 ScopedPrinterInfo::~ScopedPrinterInfo() {
324 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 329 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
325 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 330 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
326 base::debug::ClearCrashKey(key); 331 base::debug::ClearCrashKey(key);
327 } 332 }
328 } 333 }
329 334
330 } // namespace crash_keys 335 } // namespace crash_keys
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698