| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "chromecast/crash/cast_crash_keys.h" | 5 #include "chromecast/crash/cast_crash_keys.h" |
| 6 | 6 |
| 7 #include "components/crash/core/common/crash_keys.h" | 7 #include "components/crash/core/common/crash_keys.h" |
| 8 | 8 |
| 9 namespace chromecast { | 9 namespace chromecast { |
| 10 namespace crash_keys { | 10 namespace crash_keys { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // media/: | 48 // media/: |
| 49 {::crash_keys::kBug464926CrashKey, ::crash_keys::kSmallSize}, | 49 {::crash_keys::kBug464926CrashKey, ::crash_keys::kSmallSize}, |
| 50 {"view-count", ::crash_keys::kSmallSize}, | 50 {"view-count", ::crash_keys::kSmallSize}, |
| 51 | 51 |
| 52 // media/: | 52 // media/: |
| 53 {"zero-encode-details", ::crash_keys::kSmallSize}, | 53 {"zero-encode-details", ::crash_keys::kSmallSize}, |
| 54 | 54 |
| 55 // gin/: | 55 // gin/: |
| 56 {"v8-ignition", ::crash_keys::kSmallSize}, | 56 {"v8-ignition", ::crash_keys::kSmallSize}, |
| 57 | 57 |
| 58 // Temporary for http://crbug.com/575245. | |
| 59 {"swapout_frame_id", ::crash_keys::kSmallSize}, | |
| 60 {"swapout_proxy_id", ::crash_keys::kSmallSize}, | |
| 61 {"swapout_view_id", ::crash_keys::kSmallSize}, | |
| 62 {"commit_frame_id", ::crash_keys::kSmallSize}, | |
| 63 {"commit_proxy_id", ::crash_keys::kSmallSize}, | |
| 64 {"commit_view_id", ::crash_keys::kSmallSize}, | |
| 65 {"commit_main_render_frame_id", ::crash_keys::kSmallSize}, | |
| 66 {"newproxy_proxy_id", ::crash_keys::kSmallSize}, | |
| 67 {"newproxy_view_id", ::crash_keys::kSmallSize}, | |
| 68 {"newproxy_opener_id", ::crash_keys::kSmallSize}, | |
| 69 {"newproxy_parent_id", ::crash_keys::kSmallSize}, | |
| 70 {"rvinit_view_id", ::crash_keys::kSmallSize}, | |
| 71 {"rvinit_proxy_id", ::crash_keys::kSmallSize}, | |
| 72 {"rvinit_main_frame_id", ::crash_keys::kSmallSize}, | |
| 73 {"initrf_frame_id", ::crash_keys::kSmallSize}, | |
| 74 {"initrf_proxy_id", ::crash_keys::kSmallSize}, | |
| 75 {"initrf_view_id", ::crash_keys::kSmallSize}, | |
| 76 {"initrf_main_frame_id", ::crash_keys::kSmallSize}, | |
| 77 {"initrf_view_is_live", ::crash_keys::kSmallSize}, | |
| 78 | |
| 79 // Temporary for https://crbug.com/591478. | 58 // Temporary for https://crbug.com/591478. |
| 80 {"initrf_parent_proxy_exists", ::crash_keys::kSmallSize}, | 59 {"initrf_parent_proxy_exists", ::crash_keys::kSmallSize}, |
| 81 {"initrf_render_view_is_live", ::crash_keys::kSmallSize}, | 60 {"initrf_render_view_is_live", ::crash_keys::kSmallSize}, |
| 82 {"initrf_parent_is_in_same_site_instance", ::crash_keys::kSmallSize}, | 61 {"initrf_parent_is_in_same_site_instance", ::crash_keys::kSmallSize}, |
| 83 {"initrf_parent_process_is_live", ::crash_keys::kSmallSize}, | 62 {"initrf_parent_process_is_live", ::crash_keys::kSmallSize}, |
| 84 {"initrf_root_is_in_same_site_instance", ::crash_keys::kSmallSize}, | 63 {"initrf_root_is_in_same_site_instance", ::crash_keys::kSmallSize}, |
| 85 {"initrf_root_is_in_same_site_instance_as_parent", | 64 {"initrf_root_is_in_same_site_instance_as_parent", |
| 86 ::crash_keys::kSmallSize}, | 65 ::crash_keys::kSmallSize}, |
| 87 {"initrf_root_process_is_live", ::crash_keys::kSmallSize}, | 66 {"initrf_root_process_is_live", ::crash_keys::kSmallSize}, |
| 88 {"initrf_root_proxy_is_live", ::crash_keys::kSmallSize}, | 67 {"initrf_root_proxy_is_live", ::crash_keys::kSmallSize}, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 106 {"swdh_set_hosted_version_is_new_process", ::crash_keys::kSmallSize}, | 85 {"swdh_set_hosted_version_is_new_process", ::crash_keys::kSmallSize}, |
| 107 {"swdh_set_hosted_version_restart_count", ::crash_keys::kSmallSize}, | 86 {"swdh_set_hosted_version_restart_count", ::crash_keys::kSmallSize}, |
| 108 }; | 87 }; |
| 109 | 88 |
| 110 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), | 89 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), |
| 111 ::crash_keys::kChunkMaxLength); | 90 ::crash_keys::kChunkMaxLength); |
| 112 } | 91 } |
| 113 | 92 |
| 114 } // namespace crash_keys | 93 } // namespace crash_keys |
| 115 } // namespace chromecast | 94 } // namespace chromecast |
| OLD | NEW |