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