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 = { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 "+content/browser/loader/async_revalidation_manager.h", | 133 "+content/browser/loader/async_revalidation_manager.h", |
134 "+content/browser/loader/global_routing_id.h", | 134 "+content/browser/loader/global_routing_id.h", |
135 "+content/browser/loader/loader_delegate.h", | 135 "+content/browser/loader/loader_delegate.h", |
136 "+content/browser/loader/mojo_async_resource_handler.h", | 136 "+content/browser/loader/mojo_async_resource_handler.h", |
137 "+content/browser/loader/power_save_block_resource_throttle.h", | 137 "+content/browser/loader/power_save_block_resource_throttle.h", |
138 "+content/browser/loader/resource_dispatcher_host_impl.h", | 138 "+content/browser/loader/resource_dispatcher_host_impl.h", |
139 "+content/browser/loader/resource_loader.h", | 139 "+content/browser/loader/resource_loader.h", |
140 "+content/browser/loader/resource_loader_delegate.h", | 140 "+content/browser/loader/resource_loader_delegate.h", |
141 "+content/browser/loader/resource_message_filter.h", | 141 "+content/browser/loader/resource_message_filter.h", |
142 "+content/browser/loader/resource_request_info_impl.h", | 142 "+content/browser/loader/resource_request_info_impl.h", |
| 143 "+content/browser/loader/resource_requester_info.h", |
143 "+content/browser/loader/resource_scheduler.h", | 144 "+content/browser/loader/resource_scheduler.h", |
144 "+content/browser/loader/stream_resource_handler.h", | 145 "+content/browser/loader/stream_resource_handler.h", |
145 "+content/browser/loader/sync_resource_handler.h", | 146 "+content/browser/loader/sync_resource_handler.h", |
146 "+content/browser/loader/throttling_resource_handler.h", | 147 "+content/browser/loader/throttling_resource_handler.h", |
147 "+content/common/resource_request_body.h", | 148 "+content/common/resource_request_body.h", |
148 "+content/common/resource_request_body_impl.h", | 149 "+content/common/resource_request_body_impl.h", |
149 "+content/common/url_loader.mojom.h", | 150 "+content/common/url_loader.mojom.h", |
150 "+content/public/browser/global_request_id.h", | 151 "+content/public/browser/global_request_id.h", |
151 "+content/public/browser/resource_dispatcher_host.h", | 152 "+content/public/browser/resource_dispatcher_host.h", |
152 "+content/public/browser/resource_dispatcher_host_delegate.h", | 153 "+content/public/browser/resource_dispatcher_host_delegate.h", |
(...skipping 16 matching lines...) Expand all Loading... |
169 "+content/browser/loader/intercepting_resource_handler.h", | 170 "+content/browser/loader/intercepting_resource_handler.h", |
170 "+content/browser/loader/mime_sniffing_resource_handler.h", | 171 "+content/browser/loader/mime_sniffing_resource_handler.h", |
171 "+content/browser/loader/navigation_resource_handler.h", | 172 "+content/browser/loader/navigation_resource_handler.h", |
172 "+content/browser/loader/navigation_resource_throttle.h", | 173 "+content/browser/loader/navigation_resource_throttle.h", |
173 "+content/browser/loader/navigation_url_loader_impl_core.h", | 174 "+content/browser/loader/navigation_url_loader_impl_core.h", |
174 "+content/browser/loader/redirect_to_file_resource_handler.h", | 175 "+content/browser/loader/redirect_to_file_resource_handler.h", |
175 "+content/browser/loader/upload_data_stream_builder.h", | 176 "+content/browser/loader/upload_data_stream_builder.h", |
176 "+content/browser/resource_context_impl.h", | 177 "+content/browser/resource_context_impl.h", |
177 "+content/browser/service_worker/foreign_fetch_request_handler.h", | 178 "+content/browser/service_worker/foreign_fetch_request_handler.h", |
178 "+content/browser/service_worker/link_header_support.h", | 179 "+content/browser/service_worker/link_header_support.h", |
| 180 "+content/browser/service_worker/service_worker_context_wrapper.h", |
179 "+content/browser/service_worker/service_worker_navigation_handle_core.h", | 181 "+content/browser/service_worker/service_worker_navigation_handle_core.h", |
180 "+content/browser/service_worker/service_worker_request_handler.h", | 182 "+content/browser/service_worker/service_worker_request_handler.h", |
181 "+content/browser/streams/stream.h", | 183 "+content/browser/streams/stream.h", |
182 "+content/browser/streams/stream_context.h", | 184 "+content/browser/streams/stream_context.h", |
183 "+content/browser/streams/stream_registry.h", | 185 "+content/browser/streams/stream_registry.h", |
184 "+content/common/content_export.h", | 186 "+content/common/content_export.h", |
185 "+content/common/navigation_params.h", | 187 "+content/common/navigation_params.h", |
186 "+content/common/net/url_request_service_worker_data.h", | 188 "+content/common/net/url_request_service_worker_data.h", |
187 "+content/common/site_isolation_policy.h", | 189 "+content/common/site_isolation_policy.h", |
188 "+content/public/browser/browser_thread.h", | 190 "+content/public/browser/browser_thread.h", |
189 "+content/public/browser/navigation_ui_data.h", | 191 "+content/public/browser/navigation_ui_data.h", |
190 "+content/public/browser/plugin_service.h", | 192 "+content/public/browser/plugin_service.h", |
191 "+content/public/browser/resource_request_details.h", | 193 "+content/public/browser/resource_request_details.h", |
192 "+content/public/browser/stream_handle.h", | 194 "+content/public/browser/stream_handle.h", |
193 "+content/public/browser/stream_info.h", | 195 "+content/public/browser/stream_info.h", |
194 "+content/public/browser/web_contents_observer.h", | 196 "+content/public/browser/web_contents_observer.h", |
195 "+content/public/common/browser_side_navigation_policy.h", | 197 "+content/public/common/browser_side_navigation_policy.h", |
196 "+content/public/common/content_features.h", | 198 "+content/public/common/content_features.h", |
197 "+content/public/common/content_switches.h", | 199 "+content/public/common/content_switches.h", |
198 "+content/public/common/process_type.h", | |
199 "+content/public/common/request_context_type.h", | 200 "+content/public/common/request_context_type.h", |
200 "+content/public/common/resource_type.h", | 201 "+content/public/common/resource_type.h", |
201 | 202 |
202 # TODO: To be replaced by mojo. | 203 # TODO: To be replaced by mojo. |
203 "+content/common/resource_messages.h", | 204 "+content/common/resource_messages.h", |
204 "+content/common/resource_request.h", | 205 "+content/common/resource_request.h", |
205 "+content/common/resource_request_completion_status.h", | 206 "+content/common/resource_request_completion_status.h", |
206 "+content/common/view_messages.h", | 207 "+content/common/view_messages.h", |
207 ], | 208 ], |
208 "resource_handler\.(cc|h)": [ | 209 "resource_handler\.(cc|h)": [ |
(...skipping 20 matching lines...) Expand all Loading... |
229 # TODO: these all have to be removed. | 230 # TODO: these all have to be removed. |
230 "+content/browser/appcache/appcache_interceptor.h", | 231 "+content/browser/appcache/appcache_interceptor.h", |
231 "+content/browser/child_process_security_policy_impl.h", | 232 "+content/browser/child_process_security_policy_impl.h", |
232 "+content/browser/loader/cross_site_resource_handler.h", | 233 "+content/browser/loader/cross_site_resource_handler.h", |
233 "+content/browser/loader/detachable_resource_handler.h", | 234 "+content/browser/loader/detachable_resource_handler.h", |
234 "+content/browser/service_worker/service_worker_request_handler.h", | 235 "+content/browser/service_worker/service_worker_request_handler.h", |
235 "+content/browser/service_worker/service_worker_response_info.h", | 236 "+content/browser/service_worker/service_worker_response_info.h", |
236 "+content/browser/ssl/ssl_manager.h", | 237 "+content/browser/ssl/ssl_manager.h", |
237 "+content/public/common/content_client.h", | 238 "+content/public/common/content_client.h", |
238 "+content/public/common/content_switches.h", | 239 "+content/public/common/content_switches.h", |
239 "+content/public/common/process_type.h", | |
240 ], | 240 ], |
241 "resource_handler_delegate\.h": [ | 241 "resource_handler_delegate\.h": [ |
242 "-content", | 242 "-content", |
243 ], | 243 ], |
244 "resource_request_info_impl\.(cc|h)": [ | 244 "resource_request_info_impl\.(cc|h)": [ |
245 "-content", | 245 "-content", |
246 "+content/browser/loader/global_routing_id.h", | 246 "+content/browser/loader/global_routing_id.h", |
247 "+content/browser/loader/resource_handler.h", | 247 "+content/browser/loader/resource_handler.h", |
248 "+content/browser/loader/resource_message_filter.h", | 248 "+content/browser/loader/resource_message_filter.h", |
249 "+content/browser/loader/resource_request_info_impl.h", | 249 "+content/browser/loader/resource_request_info_impl.h", |
| 250 "+content/browser/loader/resource_requester_info.h", |
250 "+content/common/content_export.h", | 251 "+content/common/content_export.h", |
251 "+content/common/resource_request_body_impl.h", | 252 "+content/common/resource_request_body_impl.h", |
252 "+content/public/browser/global_request_id.h", | 253 "+content/public/browser/global_request_id.h", |
253 "+content/public/browser/resource_request_info.h", | 254 "+content/public/browser/resource_request_info.h", |
254 "+content/public/common/referrer.h", | 255 "+content/public/common/referrer.h", |
255 "+content/public/common/resource_type.h", | 256 "+content/public/common/resource_type.h", |
256 | 257 |
257 # TODO: these all have to be removed. | 258 # TODO: these all have to be removed. |
258 "+content/browser/frame_host/frame_tree_node.h", | 259 "+content/browser/frame_host/frame_tree_node.h", |
259 "+content/browser/service_worker/service_worker_context_wrapper.h", | |
260 "+content/browser/web_contents/web_contents_impl.h", | 260 "+content/browser/web_contents/web_contents_impl.h", |
261 "+content/common/net/url_request_service_worker_data.h", | 261 "+content/common/net/url_request_service_worker_data.h", |
262 "+content/common/net/url_request_user_data.h", | 262 "+content/common/net/url_request_user_data.h", |
263 "+content/public/browser/browser_thread.h", | 263 "+content/public/browser/browser_thread.h", |
264 "+content/public/browser/navigation_ui_data.h", | 264 "+content/public/browser/navigation_ui_data.h", |
265 "+content/public/common/browser_side_navigation_policy.h", | 265 "+content/public/common/browser_side_navigation_policy.h", |
266 "+content/public/common/process_type.h", | 266 "+content/public/common/process_type.h", |
267 ], | 267 ], |
268 "resource_scheduler\.(cc|h)": [ | 268 "resource_scheduler\.(cc|h)": [ |
269 "-content", | 269 "-content", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 "+content/browser/loader/test_url_loader_client.h", | 308 "+content/browser/loader/test_url_loader_client.h", |
309 "+content/common/resource_request_completion_status.h", | 309 "+content/common/resource_request_completion_status.h", |
310 "+content/common/url_loader.mojom.h", | 310 "+content/common/url_loader.mojom.h", |
311 "+content/common/url_loader_factory.mojom.h", | 311 "+content/common/url_loader_factory.mojom.h", |
312 "+content/public/common/resource_response.h", | 312 "+content/public/common/resource_response.h", |
313 ], | 313 ], |
314 "url_loader_factory_impl\.(cc|h)": [ | 314 "url_loader_factory_impl\.(cc|h)": [ |
315 "-content", | 315 "-content", |
316 "+content/browser/loader/resource_dispatcher_host_impl.h", | 316 "+content/browser/loader/resource_dispatcher_host_impl.h", |
317 "+content/browser/loader/resource_message_filter.h", | 317 "+content/browser/loader/resource_message_filter.h", |
| 318 "+content/browser/loader/resource_requester_info.h", |
318 "+content/browser/loader/url_loader_factory_impl.h", | 319 "+content/browser/loader/url_loader_factory_impl.h", |
319 "+content/common/content_export.h", | 320 "+content/common/content_export.h", |
320 "+content/common/resource_request.h", | 321 "+content/common/resource_request.h", |
321 "+content/common/url_loader.mojom.h", | 322 "+content/common/url_loader.mojom.h", |
322 "+content/common/url_loader_factory.mojom.h", | 323 "+content/common/url_loader_factory.mojom.h", |
323 "+content/public/browser/browser_thread.h", | 324 "+content/public/browser/browser_thread.h", |
324 ], | 325 ], |
325 "url_loader_factory_impl_unittest\.cc": [ | 326 "url_loader_factory_impl_unittest\.cc": [ |
326 "-content", | 327 "-content", |
327 "+content/browser/loader/mojo_async_resource_handler.h", | 328 "+content/browser/loader/mojo_async_resource_handler.h", |
328 "+content/browser/loader/test_url_loader_client.h", | 329 "+content/browser/loader/test_url_loader_client.h", |
329 "+content/browser/loader/resource_dispatcher_host_impl.h", | 330 "+content/browser/loader/resource_dispatcher_host_impl.h", |
330 "+content/browser/loader/resource_message_filter.h", | 331 "+content/browser/loader/resource_message_filter.h", |
331 "+content/browser/loader/resource_request_info_impl.h", | 332 "+content/browser/loader/resource_request_info_impl.h", |
332 "+content/browser/loader/url_loader_factory_impl.h", | 333 "+content/browser/loader/url_loader_factory_impl.h", |
333 "+content/browser/loader_delegate_impl.h", | 334 "+content/browser/loader_delegate_impl.h", |
334 "+content/common/resource_request.h", | 335 "+content/common/resource_request.h", |
335 "+content/common/resource_request_completion_status.h", | 336 "+content/common/resource_request_completion_status.h", |
336 "+content/common/url_loader.mojom.h", | 337 "+content/common/url_loader.mojom.h", |
337 "+content/common/url_loader_factory.mojom.h", | 338 "+content/common/url_loader_factory.mojom.h", |
338 "+content/public/browser/resource_context.h", | 339 "+content/public/browser/resource_context.h", |
339 "+content/public/browser/resource_dispatcher_host_delegate.h", | 340 "+content/public/browser/resource_dispatcher_host_delegate.h", |
340 "+content/public/common/content_paths.h", | 341 "+content/public/common/content_paths.h", |
341 "+content/public/common/process_type.h", | |
342 "+content/public/test/test_browser_context.h", | 342 "+content/public/test/test_browser_context.h", |
343 "+content/public/test/test_browser_thread_bundle.h", | 343 "+content/public/test/test_browser_thread_bundle.h", |
344 | 344 |
345 #TODO: To be removed when PlzNavigate lands. | 345 #TODO: To be removed when PlzNavigate lands. |
346 "+content/browser/loader/navigation_resource_throttle.h" | 346 "+content/browser/loader/navigation_resource_throttle.h" |
347 ], | 347 ], |
348 } | 348 } |
OLD | NEW |