| OLD | NEW |
| 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 <windows.h> | 9 #include <windows.h> |
| 10 | 10 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 {kHungRendererLastEventType, kSmallSize}, | 135 {kHungRendererLastEventType, kSmallSize}, |
| 136 {kHungRendererReason, kSmallSize}, | 136 {kHungRendererReason, kSmallSize}, |
| 137 {kInputEventFilterSendFailure, kSmallSize}, | 137 {kInputEventFilterSendFailure, kSmallSize}, |
| 138 | 138 |
| 139 // media/: | 139 // media/: |
| 140 {kZeroEncodeDetails, kSmallSize}, | 140 {kZeroEncodeDetails, kSmallSize}, |
| 141 | 141 |
| 142 // gin/: | 142 // gin/: |
| 143 {"v8-ignition", kSmallSize}, | 143 {"v8-ignition", kSmallSize}, |
| 144 | 144 |
| 145 // Temporary for http://crbug.com/575245. | |
| 146 {"swapout_frame_id", kSmallSize}, | |
| 147 {"swapout_proxy_id", kSmallSize}, | |
| 148 {"swapout_view_id", kSmallSize}, | |
| 149 {"commit_frame_id", kSmallSize}, | |
| 150 {"commit_proxy_id", kSmallSize}, | |
| 151 {"commit_view_id", kSmallSize}, | |
| 152 {"commit_main_render_frame_id", kSmallSize}, | |
| 153 {"newproxy_proxy_id", kSmallSize}, | |
| 154 {"newproxy_view_id", kSmallSize}, | |
| 155 {"newproxy_opener_id", kSmallSize}, | |
| 156 {"newproxy_parent_id", kSmallSize}, | |
| 157 {"rvinit_view_id", kSmallSize}, | |
| 158 {"rvinit_proxy_id", kSmallSize}, | |
| 159 {"rvinit_main_frame_id", kSmallSize}, | |
| 160 {"initrf_frame_id", kSmallSize}, | |
| 161 {"initrf_proxy_id", kSmallSize}, | |
| 162 {"initrf_view_id", kSmallSize}, | |
| 163 {"initrf_main_frame_id", kSmallSize}, | |
| 164 {"initrf_view_is_live", kSmallSize}, | |
| 165 | |
| 166 // Temporary for https://crbug.com/591478. | 145 // Temporary for https://crbug.com/591478. |
| 167 {"initrf_parent_proxy_exists", kSmallSize}, | 146 {"initrf_parent_proxy_exists", kSmallSize}, |
| 168 {"initrf_render_view_is_live", kSmallSize}, | 147 {"initrf_render_view_is_live", kSmallSize}, |
| 169 {"initrf_parent_is_in_same_site_instance", kSmallSize}, | 148 {"initrf_parent_is_in_same_site_instance", kSmallSize}, |
| 170 {"initrf_parent_process_is_live", kSmallSize}, | 149 {"initrf_parent_process_is_live", kSmallSize}, |
| 171 {"initrf_root_is_in_same_site_instance", kSmallSize}, | 150 {"initrf_root_is_in_same_site_instance", kSmallSize}, |
| 172 {"initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, | 151 {"initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, |
| 173 {"initrf_root_process_is_live", kSmallSize}, | 152 {"initrf_root_process_is_live", kSmallSize}, |
| 174 {"initrf_root_proxy_is_live", kSmallSize}, | 153 {"initrf_root_proxy_is_live", kSmallSize}, |
| 175 | 154 |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 | 404 |
| 426 return base::RandDouble() < probability; | 405 return base::RandDouble() < probability; |
| 427 } | 406 } |
| 428 | 407 |
| 429 bool ChromeCrashReporterClient::EnableBreakpadForProcess( | 408 bool ChromeCrashReporterClient::EnableBreakpadForProcess( |
| 430 const std::string& process_type) { | 409 const std::string& process_type) { |
| 431 // This is not used by Crashpad (at least on Windows). | 410 // This is not used by Crashpad (at least on Windows). |
| 432 NOTREACHED(); | 411 NOTREACHED(); |
| 433 return true; | 412 return true; |
| 434 } | 413 } |
| OLD | NEW |