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

Side by Side Diff: chromecast/crash/cast_crash_keys.cc

Issue 2345193002: [chromecast] update workaround in cast_crash_keys (Closed)
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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/macros.h" 5 #include "base/macros.h"
6 #include "chromecast/crash/cast_crash_keys.h" 6 #include "chromecast/crash/cast_crash_keys.h"
7 7
8 // TODO(kjoswiak): Potentially refactor chunk size info as well as non-cast 8 // TODO(kjoswiak): Potentially refactor chunk size info as well as non-cast
9 // specific keys out and make shared with chrome/common/crash_keys.cc. 9 // specific keys out and make shared with chrome/common/crash_keys.cc.
10 namespace { 10 namespace {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 { "ppapi_path", kMediumSize }, 44 { "ppapi_path", kMediumSize },
45 { "subresource_url", kLargeSize }, 45 { "subresource_url", kLargeSize },
46 { "total-discardable-memory-allocated", kSmallSize }, 46 { "total-discardable-memory-allocated", kSmallSize },
47 47
48 // gin/: 48 // gin/:
49 { "v8-ignition", kSmallSize }, 49 { "v8-ignition", kSmallSize },
50 50
51 // Copied from common/crash_keys. Remove when 51 // Copied from common/crash_keys. Remove when
52 // http://crbug.com/598854 is resolved. 52 // http://crbug.com/598854 is resolved.
53 53
54 // Keys for http://crbug.com/575245 54 // Temporary for http://crbug.com/575245
55 { "swapout_frame_id", kSmallSize }, 55 { "swapout_frame_id", kSmallSize },
56 { "swapout_proxy_id", kSmallSize }, 56 { "swapout_proxy_id", kSmallSize },
57 { "swapout_view_id", kSmallSize }, 57 { "swapout_view_id", kSmallSize },
58 { "commit_frame_id", kSmallSize }, 58 { "commit_frame_id", kSmallSize },
59 { "commit_proxy_id", kSmallSize }, 59 { "commit_proxy_id", kSmallSize },
60 { "commit_view_id", kSmallSize }, 60 { "commit_view_id", kSmallSize },
61 { "commit_main_render_frame_id", kSmallSize }, 61 { "commit_main_render_frame_id", kSmallSize },
62 { "newproxy_proxy_id", kSmallSize }, 62 { "newproxy_proxy_id", kSmallSize },
63 { "newproxy_view_id", kSmallSize }, 63 { "newproxy_view_id", kSmallSize },
64 { "newproxy_opener_id", kSmallSize }, 64 { "newproxy_opener_id", kSmallSize },
65 { "newproxy_parent_id", kSmallSize }, 65 { "newproxy_parent_id", kSmallSize },
66 { "rvinit_view_id", kSmallSize }, 66 { "rvinit_view_id", kSmallSize },
67 { "rvinit_proxy_id", kSmallSize }, 67 { "rvinit_proxy_id", kSmallSize },
68 { "rvinit_main_frame_id", kSmallSize }, 68 { "rvinit_main_frame_id", kSmallSize },
69 { "initrf_frame_id", kSmallSize }, 69 { "initrf_frame_id", kSmallSize },
70 { "initrf_proxy_id", kSmallSize }, 70 { "initrf_proxy_id", kSmallSize },
71 { "initrf_view_id", kSmallSize }, 71 { "initrf_view_id", kSmallSize },
72 { "initrf_main_frame_id", kSmallSize }, 72 { "initrf_main_frame_id", kSmallSize },
73 { "initrf_view_is_live", kSmallSize }, 73 { "initrf_view_is_live", kSmallSize },
74 74
75 // Keys for https://crbug.com/591478 75 // Keys for https://crbug.com/591478
76 { "initrf_parent_proxy_exists", kSmallSize }, 76 { "initrf_parent_proxy_exists", kSmallSize },
77 { "initrf_render_view_is_live", kSmallSize }, 77 { "initrf_render_view_is_live", kSmallSize },
78 { "initrf_parent_is_in_same_site_instance", kSmallSize}, 78 { "initrf_parent_is_in_same_site_instance", kSmallSize},
79 { "initrf_parent_process_is_live", kSmallSize}, 79 { "initrf_parent_process_is_live", kSmallSize},
80 { "initrf_root_is_in_same_site_instance", kSmallSize}, 80 { "initrf_root_is_in_same_site_instance", kSmallSize},
81 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, 81 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize},
82 { "initrf_root_process_is_live", kSmallSize}, 82 { "initrf_root_process_is_live", kSmallSize},
83 { "initrf_root_proxy_is_live", kSmallSize}, 83 { "initrf_root_proxy_is_live", kSmallSize},
84
85 // Temporary for https://crbug.com/626802.
86 { "newframe_routing_id", kSmallSize },
87 { "newframe_proxy_id", kSmallSize },
88 { "newframe_opener_id", kSmallSize },
89 { "newframe_parent_id", kSmallSize },
90 { "newframe_widget_id", kSmallSize },
91 { "newframe_widget_hidden", kSmallSize },
92 { "newframe_replicated_origin", kSmallSize },
93 { "newframe_oopifs_possible", kSmallSize },
94
95 // Temporary for https://crbug.com/630103.
96 { "origin_mismatch_url", kLargeSize },
97 { "origin_mismatch_origin", kMediumSize },
98 { "origin_mismatch_transition", kSmallSize },
99 { "origin_mismatch_redirects", kSmallSize },
100 { "origin_mismatch_same_page", kSmallSize },
101
102 // Temporary for https://crbug.com/612711.
103 { "aci_wrong_sp_extension_id", kSmallSize },
104
105 // Temporary for https://crbug.com/616149.
106 { "existing_extension_pref_value_type", kSmallSize },
107
108 // Temporary for https://crbug.com/630495.
109 { "swdh_register_cannot_host_url", kLargeSize },
110 { "swdh_register_cannot_scope_url", kLargeSize },
111 { "swdh_register_cannot_script_url", kLargeSize },
112
113 // Temporary for https://crbug.com/619294.
114 { "swdh_unregister_cannot_host_url", kLargeSize },
115 { "swdh_unregister_cannot_scope_url", kLargeSize },
116
117 // Temporary for https://crbug.com/630496.
118 { "swdh_get_registration_cannot_host_url", kLargeSize },
119 { "swdh_get_registration_cannot_document_url", kLargeSize },
120
84 }; 121 };
85 122
86 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), 123 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys),
87 kChunkMaxLength); 124 kChunkMaxLength);
88 } 125 }
89 126
90 } // namespace crash_keys 127 } // namespace crash_keys
91 } // namespace chromecast 128 } // namespace chromecast
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698