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

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: Add second dump site. Created 4 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 | « no previous file | content/browser/child_process_security_policy_impl.h » ('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 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 { "cookie_url", kSmallSize },
189 { "cookie_first_party", kSmallSize },
190 { "security_policy_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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 } 325 }
321 326
322 ScopedPrinterInfo::~ScopedPrinterInfo() { 327 ScopedPrinterInfo::~ScopedPrinterInfo() {
323 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 328 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
324 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 329 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
325 base::debug::ClearCrashKey(key); 330 base::debug::ClearCrashKey(key);
326 } 331 }
327 } 332 }
328 333
329 } // namespace crash_keys 334 } // namespace crash_keys
OLDNEW
« no previous file with comments | « no previous file | content/browser/child_process_security_policy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698