OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "blimp/engine/app/blimp_engine_crash_keys.h" | 5 #include "blimp/engine/app/blimp_engine_crash_keys.h" |
6 | 6 |
7 #include "base/debug/crash_logging.h" | 7 #include "base/debug/crash_logging.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/crash/core/common/crash_keys.h" | 9 #include "components/crash/core/common/crash_keys.h" |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 { "mojo-message-error", crash_keys::kMediumSize }, | 37 { "mojo-message-error", crash_keys::kMediumSize }, |
38 { "ppapi_path", crash_keys::kMediumSize }, | 38 { "ppapi_path", crash_keys::kMediumSize }, |
39 { "remove_route_bt", crash_keys::kMediumSize }, | 39 { "remove_route_bt", crash_keys::kMediumSize }, |
40 { "rwhvm_window", crash_keys::kMediumSize }, | 40 { "rwhvm_window", crash_keys::kMediumSize }, |
41 { "subresource_url", crash_keys::kLargeSize }, | 41 { "subresource_url", crash_keys::kLargeSize }, |
42 { "total-discardable-memory-allocated", crash_keys::kSmallSize }, | 42 { "total-discardable-memory-allocated", crash_keys::kSmallSize }, |
43 | 43 |
44 // gin/: | 44 // gin/: |
45 { "v8-ignition", crash_keys::kSmallSize }, | 45 { "v8-ignition", crash_keys::kSmallSize }, |
46 | 46 |
47 // Temporary for http://crbug.com/575245. | |
48 { "commit_frame_id", crash_keys::kSmallSize }, | |
49 { "commit_proxy_id", crash_keys::kSmallSize }, | |
50 { "commit_view_id", crash_keys::kSmallSize }, | |
51 { "commit_main_render_frame_id", crash_keys::kSmallSize }, | |
52 { "initrf_frame_id", crash_keys::kSmallSize }, | |
53 { "initrf_proxy_id", crash_keys::kSmallSize }, | |
54 { "initrf_view_id", crash_keys::kSmallSize }, | |
55 { "initrf_main_frame_id", crash_keys::kSmallSize }, | |
56 { "initrf_view_is_live", crash_keys::kSmallSize }, | |
57 { "newproxy_proxy_id", crash_keys::kSmallSize }, | |
58 { "newproxy_view_id", crash_keys::kSmallSize }, | |
59 { "newproxy_opener_id", crash_keys::kSmallSize }, | |
60 { "newproxy_parent_id", crash_keys::kSmallSize }, | |
61 { "rvinit_view_id", crash_keys::kSmallSize }, | |
62 { "rvinit_proxy_id", crash_keys::kSmallSize }, | |
63 { "rvinit_main_frame_id", crash_keys::kSmallSize }, | |
64 { "swapout_frame_id", crash_keys::kSmallSize }, | |
65 { "swapout_proxy_id", crash_keys::kSmallSize }, | |
66 { "swapout_view_id", crash_keys::kSmallSize }, | |
67 | |
68 // Temporary for https://crbug.com/591478. | 47 // Temporary for https://crbug.com/591478. |
69 { "initrf_parent_proxy_exists", crash_keys::kSmallSize }, | 48 { "initrf_parent_proxy_exists", crash_keys::kSmallSize }, |
70 { "initrf_render_view_is_live", crash_keys::kSmallSize }, | 49 { "initrf_render_view_is_live", crash_keys::kSmallSize }, |
71 { "initrf_parent_is_in_same_site_instance", crash_keys::kSmallSize}, | 50 { "initrf_parent_is_in_same_site_instance", crash_keys::kSmallSize}, |
72 { "initrf_parent_process_is_live", crash_keys::kSmallSize}, | 51 { "initrf_parent_process_is_live", crash_keys::kSmallSize}, |
73 { "initrf_root_is_in_same_site_instance", crash_keys::kSmallSize}, | 52 { "initrf_root_is_in_same_site_instance", crash_keys::kSmallSize}, |
74 { "initrf_root_is_in_same_site_instance_as_parent", | 53 { "initrf_root_is_in_same_site_instance_as_parent", |
75 crash_keys::kSmallSize}, | 54 crash_keys::kSmallSize}, |
76 { "initrf_root_process_is_live", crash_keys::kSmallSize}, | 55 { "initrf_root_process_is_live", crash_keys::kSmallSize}, |
77 { "initrf_root_proxy_is_live", crash_keys::kSmallSize}, | 56 { "initrf_root_proxy_is_live", crash_keys::kSmallSize}, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 { "swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize }, | 91 { "swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize }, |
113 { "swdh_set_hosted_version_host_pid", crash_keys::kSmallSize }, | 92 { "swdh_set_hosted_version_host_pid", crash_keys::kSmallSize }, |
114 }; | 93 }; |
115 | 94 |
116 return base::debug::InitCrashKeys(engine_keys, arraysize(engine_keys), | 95 return base::debug::InitCrashKeys(engine_keys, arraysize(engine_keys), |
117 crash_keys::kChunkMaxLength); | 96 crash_keys::kChunkMaxLength); |
118 } | 97 } |
119 | 98 |
120 } // namespace engine | 99 } // namespace engine |
121 } // namespace blimp | 100 } // namespace blimp |
OLD | NEW |