OLD | NEW |
1 # The core loading code in this directory is being transitioned into a separate | 1 # The core loading code in this directory is being transitioned into a separate |
2 # Mojo networking service. See http://crbug.com/598073. The first stage is to | 2 # Mojo networking service. See http://crbug.com/598073. The first stage is to |
3 # decouple the code that will be moved from the rest of content. These rules | 3 # decouple the code that will be moved from the rest of content. These rules |
4 # help ensure that we don't add more includes, and can progressively reduce the | 4 # help ensure that we don't add more includes, and can progressively reduce the |
5 # code's dependencies. | 5 # code's dependencies. |
6 # | 6 # |
7 # For each file, the first section shows includes that are allowed (i.e. because | 7 # For each file, the first section shows includes that are allowed (i.e. because |
8 # they are for files that will be moving as well). The second section, separated | 8 # they are for files that will be moving as well). The second section, separated |
9 # by a comment, lists files that we will have to decouple. | 9 # by a comment, lists files that we will have to decouple. |
10 specific_include_rules = { | 10 specific_include_rules = { |
11 "async_resource_handler\.(cc|h)": [ | 11 "async_resource_handler\.(cc|h)": [ |
12 "-content", | 12 "-content", |
13 "+content/browser/loader/async_resource_handler.h", | 13 "+content/browser/loader/async_resource_handler.h", |
14 "+content/browser/loader/netlog_observer.h", | 14 "+content/browser/loader/netlog_observer.h", |
15 "+content/browser/loader/resource_buffer.h", | 15 "+content/browser/loader/resource_buffer.h", |
16 "+content/browser/loader/resource_dispatcher_host_impl.h", | 16 "+content/browser/loader/resource_dispatcher_host_impl.h", |
17 "+content/browser/loader/resource_handler.h", | 17 "+content/browser/loader/resource_handler.h", |
18 "+content/browser/loader/resource_message_delegate.h", | 18 "+content/browser/loader/resource_message_delegate.h", |
19 "+content/browser/loader/resource_message_filter.h", | 19 "+content/browser/loader/resource_message_filter.h", |
20 "+content/browser/loader/resource_request_info_impl.h", | 20 "+content/browser/loader/resource_request_info_impl.h", |
21 "+content/common/content_export.h", | 21 "+content/common/content_export.h", |
22 "+content/public/browser/resource_dispatcher_host_delegate.h", | 22 "+content/public/browser/resource_dispatcher_host_delegate.h", |
23 "+content/public/common/resource_response.h", | 23 "+content/public/common/resource_response.h", |
24 | 24 |
25 # TODO: these all have to be removed. | 25 # TODO: these all have to be removed. |
26 "+content/browser/host_zoom_map_impl.h", | 26 "+content/browser/host_zoom_map_impl.h", |
27 "+content/browser/resource_context_impl.h", | |
28 "+content/public/common/content_features.h", | 27 "+content/public/common/content_features.h", |
29 | 28 |
30 # TODO: To be replaced by mojo. | 29 # TODO: To be replaced by mojo. |
31 "+content/common/resource_messages.h", | 30 "+content/common/resource_messages.h", |
32 "+content/common/resource_request_completion_status.h", | 31 "+content/common/resource_request_completion_status.h", |
33 "+content/common/view_messages.h", | 32 "+content/common/view_messages.h", |
34 ], | 33 ], |
35 "async_revalidation_driver\.(cc|h)": [ | 34 "async_revalidation_driver\.(cc|h)": [ |
36 "-content", | 35 "-content", |
37 "+content/browser/loader/async_revalidation_driver.h", | 36 "+content/browser/loader/async_revalidation_driver.h", |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 "+content/browser/frame_host/navigation_request_info.h", | 132 "+content/browser/frame_host/navigation_request_info.h", |
134 "+content/browser/frame_host/navigator.h", | 133 "+content/browser/frame_host/navigator.h", |
135 "+content/browser/loader/cross_site_resource_handler.h", | 134 "+content/browser/loader/cross_site_resource_handler.h", |
136 "+content/browser/loader/detachable_resource_handler.h", | 135 "+content/browser/loader/detachable_resource_handler.h", |
137 "+content/browser/loader/mime_type_resource_handler.h", | 136 "+content/browser/loader/mime_type_resource_handler.h", |
138 "+content/browser/loader/navigation_resource_handler.h", | 137 "+content/browser/loader/navigation_resource_handler.h", |
139 "+content/browser/loader/navigation_resource_throttle.h", | 138 "+content/browser/loader/navigation_resource_throttle.h", |
140 "+content/browser/loader/navigation_url_loader_impl_core.h", | 139 "+content/browser/loader/navigation_url_loader_impl_core.h", |
141 "+content/browser/loader/redirect_to_file_resource_handler.h", | 140 "+content/browser/loader/redirect_to_file_resource_handler.h", |
142 "+content/browser/loader/upload_data_stream_builder.h", | 141 "+content/browser/loader/upload_data_stream_builder.h", |
143 "+content/browser/renderer_host/render_view_host_delegate.h", | |
144 "+content/browser/renderer_host/render_view_host_impl.h", | 142 "+content/browser/renderer_host/render_view_host_impl.h", |
145 "+content/browser/resource_context_impl.h", | 143 "+content/browser/resource_context_impl.h", |
146 "+content/browser/service_worker/foreign_fetch_request_handler.h", | 144 "+content/browser/service_worker/foreign_fetch_request_handler.h", |
147 "+content/browser/service_worker/link_header_support.h", | 145 "+content/browser/service_worker/link_header_support.h", |
148 "+content/browser/service_worker/service_worker_request_handler.h", | 146 "+content/browser/service_worker/service_worker_request_handler.h", |
149 "+content/browser/streams/stream.h", | 147 "+content/browser/streams/stream.h", |
150 "+content/browser/streams/stream_context.h", | 148 "+content/browser/streams/stream_context.h", |
151 "+content/browser/streams/stream_registry.h", | 149 "+content/browser/streams/stream_registry.h", |
152 "+content/browser/web_contents/web_contents_impl.h", | 150 "+content/browser/web_contents/web_contents_impl.h", |
153 "+content/common/appcache_interfaces.h", | |
154 "+content/common/content_export.h", | 151 "+content/common/content_export.h", |
155 "+content/common/navigation_params.h", | 152 "+content/common/navigation_params.h", |
156 "+content/common/net/url_request_service_worker_data.h", | 153 "+content/common/net/url_request_service_worker_data.h", |
157 "+content/common/site_isolation_policy.h", | 154 "+content/common/site_isolation_policy.h", |
158 "+content/common/ssl_status_serialization.h", | 155 "+content/common/ssl_status_serialization.h", |
159 "+content/public/browser/browser_thread.h", | 156 "+content/public/browser/browser_thread.h", |
160 "+content/public/browser/child_process_data.h", | |
161 "+content/public/browser/content_browser_client.h", | 157 "+content/public/browser/content_browser_client.h", |
162 "+content/public/browser/download_item.h", | |
163 "+content/public/browser/download_manager.h", | |
164 "+content/public/browser/download_url_parameters.h", | |
165 "+content/public/browser/notification_types.h", | 158 "+content/public/browser/notification_types.h", |
166 "+content/public/browser/plugin_service.h", | 159 "+content/public/browser/plugin_service.h", |
167 "+content/public/browser/resource_request_details.h", | 160 "+content/public/browser/resource_request_details.h", |
168 "+content/public/browser/stream_handle.h", | 161 "+content/public/browser/stream_handle.h", |
169 "+content/public/browser/stream_info.h", | 162 "+content/public/browser/stream_info.h", |
170 "+content/public/browser/user_metrics.h", | 163 "+content/public/browser/user_metrics.h", |
171 "+content/public/browser/web_contents_observer.h", | 164 "+content/public/browser/web_contents_observer.h", |
172 "+content/public/common/browser_side_navigation_policy.h", | 165 "+content/public/common/browser_side_navigation_policy.h", |
173 "+content/public/common/content_features.h", | 166 "+content/public/common/content_features.h", |
174 "+content/public/common/content_switches.h", | 167 "+content/public/common/content_switches.h", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 "+content/browser/loader/sync_resource_handler.h", | 269 "+content/browser/loader/sync_resource_handler.h", |
277 "+content/public/browser/resource_dispatcher_host_delegate.h", | 270 "+content/public/browser/resource_dispatcher_host_delegate.h", |
278 "+content/public/browser/resource_request_info.h", | 271 "+content/public/browser/resource_request_info.h", |
279 "+content/public/common/resource_response.h", | 272 "+content/public/common/resource_response.h", |
280 | 273 |
281 | 274 |
282 # TODO: To be replaced by mojo. | 275 # TODO: To be replaced by mojo. |
283 "+content/common/resource_messages.h", | 276 "+content/common/resource_messages.h", |
284 ], | 277 ], |
285 } | 278 } |
OLD | NEW |