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

Side by Side Diff: chrome/app/chrome_crash_reporter_client_win.cc

Issue 2280473002: Add crash keys to debug causes of a crash in RenderFrameImpl::CreateFrame (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 | « blimp/engine/app/blimp_engine_crash_keys.cc ('k') | chrome/common/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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 // TODO(ananta/scottmg) 5 // TODO(ananta/scottmg)
6 // Add test coverage for Crashpad. 6 // Add test coverage for Crashpad.
7 #include "chrome/app/chrome_crash_reporter_client_win.h" 7 #include "chrome/app/chrome_crash_reporter_client_win.h"
8 8
9 #include <assert.h> 9 #include <assert.h>
10 #include <windows.h> 10 #include <windows.h>
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Temporary for https://crbug.com/591478. 131 // Temporary for https://crbug.com/591478.
132 {"initrf_parent_proxy_exists", kSmallSize}, 132 {"initrf_parent_proxy_exists", kSmallSize},
133 {"initrf_render_view_is_live", kSmallSize}, 133 {"initrf_render_view_is_live", kSmallSize},
134 {"initrf_parent_is_in_same_site_instance", kSmallSize}, 134 {"initrf_parent_is_in_same_site_instance", kSmallSize},
135 {"initrf_parent_process_is_live", kSmallSize}, 135 {"initrf_parent_process_is_live", kSmallSize},
136 {"initrf_root_is_in_same_site_instance", kSmallSize}, 136 {"initrf_root_is_in_same_site_instance", kSmallSize},
137 {"initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, 137 {"initrf_root_is_in_same_site_instance_as_parent", kSmallSize},
138 {"initrf_root_process_is_live", kSmallSize}, 138 {"initrf_root_process_is_live", kSmallSize},
139 {"initrf_root_proxy_is_live", kSmallSize}, 139 {"initrf_root_proxy_is_live", kSmallSize},
140 140
141 // Temporary for https://crbug.com/626802.
142 { "newframe_routing_id", kSmallSize },
143 { "newframe_proxy_id", kSmallSize },
144 { "newframe_opener_id", kSmallSize },
145 { "newframe_parent_id", kSmallSize },
146 { "newframe_widget_id", kSmallSize },
147 { "newframe_widget_hidden", kSmallSize },
148 { "newframe_replicated_origin", kSmallSize },
149 { "newframe_oopifs_possible", kSmallSize },
Charlie Reis 2016/08/25 00:04:55 Wow, there's three places that need this now? :(
Robert Sesek 2016/08/25 16:29:06 Yeah, this is getting bad, especially as this is p
150
141 // Temporary for https://crbug.com/630103. 151 // Temporary for https://crbug.com/630103.
142 { "origin_mismatch_url", crash_keys::kLargeSize }, 152 { "origin_mismatch_url", crash_keys::kLargeSize },
143 { "origin_mismatch_origin", crash_keys::kMediumSize }, 153 { "origin_mismatch_origin", crash_keys::kMediumSize },
144 { "origin_mismatch_transition", crash_keys::kSmallSize }, 154 { "origin_mismatch_transition", crash_keys::kSmallSize },
145 { "origin_mismatch_redirects", crash_keys::kSmallSize }, 155 { "origin_mismatch_redirects", crash_keys::kSmallSize },
146 { "origin_mismatch_same_page", crash_keys::kSmallSize }, 156 { "origin_mismatch_same_page", crash_keys::kSmallSize },
147 157
148 // Temporary for https://crbug.com/612711. 158 // Temporary for https://crbug.com/612711.
149 {"aci_wrong_sp_extension_id", kSmallSize}, 159 {"aci_wrong_sp_extension_id", kSmallSize},
150 160
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 bool ChromeCrashReporterClient::GetCollectStatsInSample() { 376 bool ChromeCrashReporterClient::GetCollectStatsInSample() {
367 return install_static::GetCollectStatsInSample(); 377 return install_static::GetCollectStatsInSample();
368 } 378 }
369 379
370 bool ChromeCrashReporterClient::EnableBreakpadForProcess( 380 bool ChromeCrashReporterClient::EnableBreakpadForProcess(
371 const std::string& process_type) { 381 const std::string& process_type) {
372 return process_type == install_static::kRendererProcess || 382 return process_type == install_static::kRendererProcess ||
373 process_type == install_static::kPpapiPluginProcess || 383 process_type == install_static::kPpapiPluginProcess ||
374 process_type == install_static::kGpuProcess; 384 process_type == install_static::kGpuProcess;
375 } 385 }
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_engine_crash_keys.cc ('k') | chrome/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698