| 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 <assert.h> | 9 #include <assert.h> |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 {kHungRendererReason, kSmallSize}, | 125 {kHungRendererReason, kSmallSize}, |
| 126 {kInputEventFilterSendFailure, kSmallSize}, | 126 {kInputEventFilterSendFailure, kSmallSize}, |
| 127 | 127 |
| 128 // media/: | 128 // media/: |
| 129 {kHungAudioThreadDetails, kSmallSize}, | 129 {kHungAudioThreadDetails, kSmallSize}, |
| 130 {kZeroEncodeDetails, kSmallSize}, | 130 {kZeroEncodeDetails, kSmallSize}, |
| 131 | 131 |
| 132 // gin/: | 132 // gin/: |
| 133 {"v8-ignition", kSmallSize}, | 133 {"v8-ignition", kSmallSize}, |
| 134 | 134 |
| 135 // Temporary for http://crbug.com/575245. | |
| 136 {"swapout_frame_id", kSmallSize}, | |
| 137 {"swapout_proxy_id", kSmallSize}, | |
| 138 {"swapout_view_id", kSmallSize}, | |
| 139 {"commit_frame_id", kSmallSize}, | |
| 140 {"commit_proxy_id", kSmallSize}, | |
| 141 {"commit_view_id", kSmallSize}, | |
| 142 {"commit_main_render_frame_id", kSmallSize}, | |
| 143 {"newproxy_proxy_id", kSmallSize}, | |
| 144 {"newproxy_view_id", kSmallSize}, | |
| 145 {"newproxy_opener_id", kSmallSize}, | |
| 146 {"newproxy_parent_id", kSmallSize}, | |
| 147 {"rvinit_view_id", kSmallSize}, | |
| 148 {"rvinit_proxy_id", kSmallSize}, | |
| 149 {"rvinit_main_frame_id", kSmallSize}, | |
| 150 {"initrf_frame_id", kSmallSize}, | |
| 151 {"initrf_proxy_id", kSmallSize}, | |
| 152 {"initrf_view_id", kSmallSize}, | |
| 153 {"initrf_main_frame_id", kSmallSize}, | |
| 154 {"initrf_view_is_live", kSmallSize}, | |
| 155 | |
| 156 // Temporary for https://crbug.com/591478. | 135 // Temporary for https://crbug.com/591478. |
| 157 {"initrf_parent_proxy_exists", kSmallSize}, | 136 {"initrf_parent_proxy_exists", kSmallSize}, |
| 158 {"initrf_render_view_is_live", kSmallSize}, | 137 {"initrf_render_view_is_live", kSmallSize}, |
| 159 {"initrf_parent_is_in_same_site_instance", kSmallSize}, | 138 {"initrf_parent_is_in_same_site_instance", kSmallSize}, |
| 160 {"initrf_parent_process_is_live", kSmallSize}, | 139 {"initrf_parent_process_is_live", kSmallSize}, |
| 161 {"initrf_root_is_in_same_site_instance", kSmallSize}, | 140 {"initrf_root_is_in_same_site_instance", kSmallSize}, |
| 162 {"initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, | 141 {"initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, |
| 163 {"initrf_root_process_is_live", kSmallSize}, | 142 {"initrf_root_process_is_live", kSmallSize}, |
| 164 {"initrf_root_proxy_is_live", kSmallSize}, | 143 {"initrf_root_proxy_is_live", kSmallSize}, |
| 165 | 144 |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 bool ChromeCrashReporterClient::GetCollectStatsInSample() { | 381 bool ChromeCrashReporterClient::GetCollectStatsInSample() { |
| 403 return install_static::GetCollectStatsInSample(); | 382 return install_static::GetCollectStatsInSample(); |
| 404 } | 383 } |
| 405 | 384 |
| 406 bool ChromeCrashReporterClient::EnableBreakpadForProcess( | 385 bool ChromeCrashReporterClient::EnableBreakpadForProcess( |
| 407 const std::string& process_type) { | 386 const std::string& process_type) { |
| 408 // This is not used by Crashpad (at least on Windows). | 387 // This is not used by Crashpad (at least on Windows). |
| 409 NOTREACHED(); | 388 NOTREACHED(); |
| 410 return true; | 389 return true; |
| 411 } | 390 } |
| OLD | NEW |