| 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 "+content/common/url_loader.mojom.h", |
| 24 | 25 |
| 25 # TODO: these all have to be removed. | 26 # TODO: these all have to be removed. |
| 26 "+content/browser/resource_context_impl.h", | 27 "+content/browser/resource_context_impl.h", |
| 27 "+content/public/common/content_features.h", | 28 "+content/public/common/content_features.h", |
| 28 | 29 |
| 29 # TODO: To be replaced by mojo. | 30 # TODO: To be replaced by mojo. |
| 30 "+content/common/resource_messages.h", | 31 "+content/common/resource_messages.h", |
| 31 "+content/common/resource_request_completion_status.h", | 32 "+content/common/resource_request_completion_status.h", |
| 32 "+content/common/view_messages.h", | 33 "+content/common/view_messages.h", |
| 33 ], | 34 ], |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 "+content/browser/loader/power_save_block_resource_throttle.h", | 105 "+content/browser/loader/power_save_block_resource_throttle.h", |
| 105 "+content/browser/loader/resource_dispatcher_host_impl.h", | 106 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 106 "+content/browser/loader/resource_loader.h", | 107 "+content/browser/loader/resource_loader.h", |
| 107 "+content/browser/loader/resource_loader_delegate.h", | 108 "+content/browser/loader/resource_loader_delegate.h", |
| 108 "+content/browser/loader/resource_message_filter.h", | 109 "+content/browser/loader/resource_message_filter.h", |
| 109 "+content/browser/loader/resource_request_info_impl.h", | 110 "+content/browser/loader/resource_request_info_impl.h", |
| 110 "+content/browser/loader/resource_scheduler.h", | 111 "+content/browser/loader/resource_scheduler.h", |
| 111 "+content/browser/loader/stream_resource_handler.h", | 112 "+content/browser/loader/stream_resource_handler.h", |
| 112 "+content/browser/loader/sync_resource_handler.h", | 113 "+content/browser/loader/sync_resource_handler.h", |
| 113 "+content/browser/loader/throttling_resource_handler.h", | 114 "+content/browser/loader/throttling_resource_handler.h", |
| 115 "+content/browser/loader/url_loader_factory_impl.h", |
| 116 "+content/common/url_loader.mojom.h", |
| 114 "+content/public/browser/global_request_id.h", | 117 "+content/public/browser/global_request_id.h", |
| 115 "+content/public/browser/resource_dispatcher_host.h", | 118 "+content/public/browser/resource_dispatcher_host.h", |
| 116 "+content/public/browser/resource_dispatcher_host_delegate.h", | 119 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 117 "+content/public/browser/resource_throttle.h", | 120 "+content/public/browser/resource_throttle.h", |
| 118 | 121 |
| 119 # TODO: These all have to be removed. | 122 # TODO: These all have to be removed. |
| 120 "+content/browser/appcache/appcache_interceptor.h", | 123 "+content/browser/appcache/appcache_interceptor.h", |
| 121 "+content/browser/appcache/chrome_appcache_service.h", | 124 "+content/browser/appcache/chrome_appcache_service.h", |
| 122 "+content/browser/bad_message.h", | 125 "+content/browser/bad_message.h", |
| 123 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 126 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 "+content/browser/loader/resource_request_info_impl.h", | 189 "+content/browser/loader/resource_request_info_impl.h", |
| 187 "+content/common/content_export.h", | 190 "+content/common/content_export.h", |
| 188 ], | 191 ], |
| 189 "resource_loader\.(cc|h)": [ | 192 "resource_loader\.(cc|h)": [ |
| 190 "-content", | 193 "-content", |
| 191 "+content/browser/loader/resource_handler.h", | 194 "+content/browser/loader/resource_handler.h", |
| 192 "+content/browser/loader/resource_loader.h", | 195 "+content/browser/loader/resource_loader.h", |
| 193 "+content/browser/loader/resource_loader_delegate.h", | 196 "+content/browser/loader/resource_loader_delegate.h", |
| 194 "+content/browser/loader/resource_request_info_impl.h", | 197 "+content/browser/loader/resource_request_info_impl.h", |
| 195 "+content/common/content_export.h", | 198 "+content/common/content_export.h", |
| 199 "+content/common/url_loader.mojom.h", |
| 196 "+content/public/browser/resource_controller.h", | 200 "+content/public/browser/resource_controller.h", |
| 197 "+content/public/browser/resource_dispatcher_host_login_delegate.h", | 201 "+content/public/browser/resource_dispatcher_host_login_delegate.h", |
| 198 "+content/public/common/resource_response.h", | 202 "+content/public/common/resource_response.h", |
| 199 | 203 |
| 200 # TODO: these all have to be removed. | 204 # TODO: these all have to be removed. |
| 201 "+content/browser/appcache/appcache_interceptor.h", | 205 "+content/browser/appcache/appcache_interceptor.h", |
| 202 "+content/browser/child_process_security_policy_impl.h", | 206 "+content/browser/child_process_security_policy_impl.h", |
| 203 "+content/browser/loader/cross_site_resource_handler.h", | 207 "+content/browser/loader/cross_site_resource_handler.h", |
| 204 "+content/browser/loader/detachable_resource_handler.h", | 208 "+content/browser/loader/detachable_resource_handler.h", |
| 205 "+content/browser/service_worker/service_worker_request_handler.h", | 209 "+content/browser/service_worker/service_worker_request_handler.h", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 "+content/browser/loader/resource_request_info_impl.h", | 277 "+content/browser/loader/resource_request_info_impl.h", |
| 274 "+content/browser/loader/sync_resource_handler.h", | 278 "+content/browser/loader/sync_resource_handler.h", |
| 275 "+content/public/browser/resource_dispatcher_host_delegate.h", | 279 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 276 "+content/public/browser/resource_request_info.h", | 280 "+content/public/browser/resource_request_info.h", |
| 277 "+content/public/common/resource_response.h", | 281 "+content/public/common/resource_response.h", |
| 278 | 282 |
| 279 | 283 |
| 280 # TODO: To be replaced by mojo. | 284 # TODO: To be replaced by mojo. |
| 281 "+content/common/resource_messages.h", | 285 "+content/common/resource_messages.h", |
| 282 ], | 286 ], |
| 287 "url_loader_factory_impl\.(cc|h)": [ |
| 288 "-content", |
| 289 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 290 "+content/browser/loader/resource_message_filter.h", |
| 291 "+content/browser/loader/url_loader_factory_impl.h", |
| 292 "+content/common/content_export.h", |
| 293 "+content/common/resource_request.h", |
| 294 "+content/common/url_loader.mojom.h", |
| 295 "+content/common/url_loader_factory.mojom.h", |
| 296 |
| 297 # TODO: To be replaced by mojo. |
| 298 "+content/common/resource_messages.h", |
| 299 ], |
| 300 "url_loader_factory_impl_unittest.cc": [ |
| 301 "-content", |
| 302 "+content/common/url_loader.mojom.h", |
| 303 "+content/common/url_loader_factory.mojom.h", |
| 304 "+content/browser/loader/resource_message_filter.h", |
| 305 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 306 "+content/public/browser/resource_context.h", |
| 307 "+content/browser/loader/url_loader_factory_impl.h", |
| 308 "+content/public/test/test_browser_context.h", |
| 309 "+content/public/test/test_browser_thread_bundle.h", |
| 310 ], |
| 283 } | 311 } |
| OLD | NEW |