| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 "+content/public/browser/global_request_id.h", | 70 "+content/public/browser/global_request_id.h", |
| 71 "+content/public/common/resource_request_completion_status.h", | 71 "+content/public/common/resource_request_completion_status.h", |
| 72 "+content/public/common/resource_response.h", | 72 "+content/public/common/resource_response.h", |
| 73 "+content/public/common/resource_type.h", | 73 "+content/public/common/resource_type.h", |
| 74 "+content/public/common/url_loader.mojom.h", | 74 "+content/public/common/url_loader.mojom.h", |
| 75 ], | 75 ], |
| 76 "mojo_async_resource_handler_unittest\.cc": [ | 76 "mojo_async_resource_handler_unittest\.cc": [ |
| 77 "-content", | 77 "-content", |
| 78 "+content/browser/loader/mock_resource_loader.h", | 78 "+content/browser/loader/mock_resource_loader.h", |
| 79 "+content/browser/loader/mojo_async_resource_handler.h", | 79 "+content/browser/loader/mojo_async_resource_handler.h", |
| 80 "+content/browser/loader/test_url_loader_client.h", | |
| 81 "+content/browser/loader/resource_controller.h", | 80 "+content/browser/loader/resource_controller.h", |
| 82 "+content/browser/loader/resource_dispatcher_host_impl.h", | 81 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 83 "+content/browser/loader/resource_request_info_impl.h", | 82 "+content/browser/loader/resource_request_info_impl.h", |
| 84 "+content/browser/loader/resource_scheduler.h", | 83 "+content/browser/loader/resource_scheduler.h", |
| 85 "+content/public/browser/appcache_service.h", | 84 "+content/public/browser/appcache_service.h", |
| 86 "+content/public/browser/navigation_data.h", | 85 "+content/public/browser/navigation_data.h", |
| 87 "+content/public/browser/resource_context.h", | 86 "+content/public/browser/resource_context.h", |
| 88 "+content/public/browser/resource_dispatcher_host_delegate.h", | 87 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 89 "+content/public/browser/resource_throttle.h", | 88 "+content/public/browser/resource_throttle.h", |
| 90 "+content/public/browser/stream_info.h", | 89 "+content/public/browser/stream_info.h", |
| 91 "+content/public/common/previews_state.h", | 90 "+content/public/common/previews_state.h", |
| 92 "+content/public/common/resource_request.h", | 91 "+content/public/common/resource_request.h", |
| 93 "+content/public/common/resource_request_completion_status.h", | 92 "+content/public/common/resource_request_completion_status.h", |
| 94 "+content/public/common/resource_response.h", | 93 "+content/public/common/resource_response.h", |
| 95 "+content/public/common/resource_type.h", | 94 "+content/public/common/resource_type.h", |
| 96 "+content/public/common/url_loader.mojom.h", | 95 "+content/public/common/url_loader.mojom.h", |
| 97 "+content/public/common/url_loader_factory.mojom.h", | 96 "+content/public/common/url_loader_factory.mojom.h", |
| 98 "+content/public/test/test_browser_context.h", | 97 "+content/public/test/test_browser_context.h", |
| 99 "+content/public/test/test_browser_thread_bundle.h", | 98 "+content/public/test/test_browser_thread_bundle.h", |
| 99 "+content/public/test/test_url_loader_client.h", |
| 100 ], | 100 ], |
| 101 "netlog_observer\.(cc|h)": [ | 101 "netlog_observer\.(cc|h)": [ |
| 102 "-content", | 102 "-content", |
| 103 "+content/browser/loader/netlog_observer.h", | 103 "+content/browser/loader/netlog_observer.h", |
| 104 "+content/browser/loader/resource_request_info_impl.h", | 104 "+content/browser/loader/resource_request_info_impl.h", |
| 105 "+content/public/common/resource_response.h", | 105 "+content/public/common/resource_response.h", |
| 106 | 106 |
| 107 # TODO: These all have to be removed. | 107 # TODO: These all have to be removed. |
| 108 "+content/public/browser/browser_thread.h", # Only for DCHECK. | 108 "+content/public/browser/browser_thread.h", # Only for DCHECK. |
| 109 "+content/public/common/resource_devtools_info.h", | 109 "+content/public/common/resource_devtools_info.h", |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 "+content/browser/loader/resource_request_info_impl.h", | 294 "+content/browser/loader/resource_request_info_impl.h", |
| 295 "+content/browser/loader/sync_resource_handler.h", | 295 "+content/browser/loader/sync_resource_handler.h", |
| 296 "+content/public/browser/resource_dispatcher_host_delegate.h", | 296 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 297 "+content/public/browser/resource_request_info.h", | 297 "+content/public/browser/resource_request_info.h", |
| 298 "+content/public/common/resource_response.h", | 298 "+content/public/common/resource_response.h", |
| 299 | 299 |
| 300 | 300 |
| 301 # TODO: To be replaced by mojo. | 301 # TODO: To be replaced by mojo. |
| 302 "+content/common/resource_messages.h", | 302 "+content/common/resource_messages.h", |
| 303 ], | 303 ], |
| 304 "test_url_loader_client\.(cc|h)": [ | |
| 305 "-content", | |
| 306 "+content/browser/loader/test_url_loader_client.h", | |
| 307 "+content/public/common/resource_request_completion_status.h", | |
| 308 "+content/public/common/resource_response.h", | |
| 309 "+content/public/common/url_loader.mojom.h", | |
| 310 "+content/public/common/url_loader_factory.mojom.h", | |
| 311 ], | |
| 312 "upload_progress_tracker\.(cc|h)": [ | 304 "upload_progress_tracker\.(cc|h)": [ |
| 313 "-content", | 305 "-content", |
| 314 "+content/browser/loader/upload_progress_tracker.h", | 306 "+content/browser/loader/upload_progress_tracker.h", |
| 315 "+content/common/content_export.h", | 307 "+content/common/content_export.h", |
| 316 ], | 308 ], |
| 317 "url_loader_factory_impl\.(cc|h)": [ | 309 "url_loader_factory_impl\.(cc|h)": [ |
| 318 "-content", | 310 "-content", |
| 319 "+content/browser/loader/resource_dispatcher_host_impl.h", | 311 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 320 "+content/browser/loader/resource_requester_info.h", | 312 "+content/browser/loader/resource_requester_info.h", |
| 321 "+content/browser/loader/url_loader_factory_impl.h", | 313 "+content/browser/loader/url_loader_factory_impl.h", |
| 322 "+content/common/content_export.h", | 314 "+content/common/content_export.h", |
| 323 "+content/public/common/resource_request.h", | 315 "+content/public/common/resource_request.h", |
| 324 "+content/public/common/url_loader.mojom.h", | 316 "+content/public/common/url_loader.mojom.h", |
| 325 "+content/public/common/url_loader_factory.mojom.h", | 317 "+content/public/common/url_loader_factory.mojom.h", |
| 326 ], | 318 ], |
| 327 "url_loader_factory_impl_unittest\.cc": [ | 319 "url_loader_factory_impl_unittest\.cc": [ |
| 328 "-content", | 320 "-content", |
| 329 "+content/browser/child_process_security_policy_impl.h", | 321 "+content/browser/child_process_security_policy_impl.h", |
| 330 "+content/browser/loader/mojo_async_resource_handler.h", | 322 "+content/browser/loader/mojo_async_resource_handler.h", |
| 331 "+content/browser/loader/test_url_loader_client.h", | |
| 332 "+content/browser/loader/resource_dispatcher_host_impl.h", | 323 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 333 "+content/browser/loader/resource_message_filter.h", | 324 "+content/browser/loader/resource_message_filter.h", |
| 334 "+content/browser/loader/resource_request_info_impl.h", | 325 "+content/browser/loader/resource_request_info_impl.h", |
| 335 "+content/browser/loader/url_loader_factory_impl.h", | 326 "+content/browser/loader/url_loader_factory_impl.h", |
| 336 "+content/browser/loader_delegate_impl.h", | 327 "+content/browser/loader_delegate_impl.h", |
| 337 "+content/public/browser/resource_context.h", | 328 "+content/public/browser/resource_context.h", |
| 338 "+content/public/browser/resource_dispatcher_host_delegate.h", | 329 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 339 "+content/public/common/content_paths.h", | 330 "+content/public/common/content_paths.h", |
| 340 "+content/public/common/resource_request.h", | 331 "+content/public/common/resource_request.h", |
| 341 "+content/public/common/resource_request_completion_status.h", | 332 "+content/public/common/resource_request_completion_status.h", |
| 342 "+content/public/common/url_loader.mojom.h", | 333 "+content/public/common/url_loader.mojom.h", |
| 343 "+content/public/common/url_loader_factory.mojom.h", | 334 "+content/public/common/url_loader_factory.mojom.h", |
| 344 "+content/public/test/test_browser_context.h", | 335 "+content/public/test/test_browser_context.h", |
| 345 "+content/public/test/test_browser_thread_bundle.h", | 336 "+content/public/test/test_browser_thread_bundle.h", |
| 337 "+content/public/test/test_url_loader_client.h", |
| 346 | 338 |
| 347 #TODO: To be removed when PlzNavigate lands. | 339 #TODO: To be removed when PlzNavigate lands. |
| 348 "+content/browser/loader/navigation_resource_throttle.h" | 340 "+content/browser/loader/navigation_resource_throttle.h" |
| 349 ], | 341 ], |
| 350 "wake_lock_resource_throttle\.(cc|h)": [ | 342 "wake_lock_resource_throttle\.(cc|h)": [ |
| 351 "-content", | 343 "-content", |
| 352 "+content/browser/loader/wake_lock_resource_throttle.h", | 344 "+content/browser/loader/wake_lock_resource_throttle.h", |
| 353 "+content/browser/service_manager/service_manager_context.h", | 345 "+content/browser/service_manager/service_manager_context.h", |
| 354 "+content/public/browser/browser_thread.h", | 346 "+content/public/browser/browser_thread.h", |
| 355 "+content/public/browser/resource_throttle.h", | 347 "+content/public/browser/resource_throttle.h", |
| 356 ], | 348 ], |
| 357 } | 349 } |
| OLD | NEW |