| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 "-content", | 74 "-content", |
| 75 "+content/browser/loader/resource_buffer.h", | 75 "+content/browser/loader/resource_buffer.h", |
| 76 "+content/common/content_export.h", | 76 "+content/common/content_export.h", |
| 77 ], | 77 ], |
| 78 "global_routing_id\.h": [ | 78 "global_routing_id\.h": [ |
| 79 "-content", | 79 "-content", |
| 80 ], | 80 ], |
| 81 "layered_resource_handler\.(cc|h)": [ | 81 "layered_resource_handler\.(cc|h)": [ |
| 82 "-content", | 82 "-content", |
| 83 "+content/browser/loader/layered_resource_handler.h", | 83 "+content/browser/loader/layered_resource_handler.h", |
| 84 "+content/browser/loader/resource_controller.h", |
| 84 "+content/browser/loader/resource_handler.h", | 85 "+content/browser/loader/resource_handler.h", |
| 85 "+content/common/content_export.h", | 86 "+content/common/content_export.h", |
| 86 ], | 87 ], |
| 87 "mojo_async_resource_handler\.(cc|h)": [ | 88 "mojo_async_resource_handler\.(cc|h)": [ |
| 88 "-content", | 89 "-content", |
| 89 "+content/browser/loader/async_resource_handler.h", | 90 "+content/browser/loader/async_resource_handler.h", |
| 90 "+content/browser/loader/downloaded_temp_file_impl.h", | 91 "+content/browser/loader/downloaded_temp_file_impl.h", |
| 91 "+content/browser/loader/mojo_async_resource_handler.h", | 92 "+content/browser/loader/mojo_async_resource_handler.h", |
| 92 "+content/browser/loader/test_url_loader_client.h", | 93 "+content/browser/loader/test_url_loader_client.h", |
| 93 "+content/browser/loader/netlog_observer.h", | 94 "+content/browser/loader/netlog_observer.h", |
| 94 "+content/browser/loader/resource_controller.h", | 95 "+content/browser/loader/resource_controller.h", |
| 95 "+content/browser/loader/resource_dispatcher_host_impl.h", | 96 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 96 "+content/browser/loader/resource_handler.h", | 97 "+content/browser/loader/resource_handler.h", |
| 97 "+content/browser/loader/resource_request_info_impl.h", | 98 "+content/browser/loader/resource_request_info_impl.h", |
| 98 "+content/common/content_export.h", | 99 "+content/common/content_export.h", |
| 99 "+content/common/resource_request_completion_status.h", | 100 "+content/common/resource_request_completion_status.h", |
| 100 "+content/public/browser/global_request_id.h", | 101 "+content/public/browser/global_request_id.h", |
| 101 "+content/public/browser/resource_dispatcher_host_delegate.h", | 102 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 102 "+content/public/common/resource_response.h", | 103 "+content/public/common/resource_response.h", |
| 103 "+content/common/url_loader.mojom.h", | 104 "+content/common/url_loader.mojom.h", |
| 104 ], | 105 ], |
| 105 "mojo_async_resource_handler_unittest\.cc": [ | 106 "mojo_async_resource_handler_unittest\.cc": [ |
| 106 "-content", | 107 "-content", |
| 107 "+content/browser/loader/mojo_async_resource_handler.h", | 108 "+content/browser/loader/mojo_async_resource_handler.h", |
| 108 "+content/browser/loader/test_url_loader_client.h", | 109 "+content/browser/loader/test_url_loader_client.h", |
| 109 "+content/public/browser/navigation_data.h", | 110 "+content/public/browser/navigation_data.h", |
| 110 "+content/browser/loader/resource_controller.h", | 111 "+content/browser/loader/resource_controller.h", |
| 111 "+content/browser/loader/resource_dispatcher_host_impl.h", | 112 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 112 "+content/browser/loader/resource_request_info_impl.h", | 113 "+content/browser/loader/resource_request_info_impl.h", |
| 114 "+content/browser/loader/test_resource_handler_wrapper.h", |
| 113 "+content/common/resource_request.h", | 115 "+content/common/resource_request.h", |
| 114 "+content/common/resource_request_completion_status.h", | 116 "+content/common/resource_request_completion_status.h", |
| 115 "+content/common/url_loader.mojom.h", | 117 "+content/common/url_loader.mojom.h", |
| 116 "+content/public/browser/appcache_service.h", | 118 "+content/public/browser/appcache_service.h", |
| 117 "+content/public/browser/resource_context.h", | 119 "+content/public/browser/resource_context.h", |
| 118 "+content/public/browser/resource_dispatcher_host_delegate.h", | 120 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 119 "+content/public/browser/resource_throttle.h", | 121 "+content/public/browser/resource_throttle.h", |
| 120 "+content/public/browser/stream_info.h", | 122 "+content/public/browser/stream_info.h", |
| 121 "+content/public/common/resource_response.h", | 123 "+content/public/common/resource_response.h", |
| 122 "+content/public/common/resource_type.h", | 124 "+content/public/common/resource_type.h", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 138 "+content/browser/loader/power_save_block_resource_throttle.h", | 140 "+content/browser/loader/power_save_block_resource_throttle.h", |
| 139 "+content/public/browser/resource_throttle.h", | 141 "+content/public/browser/resource_throttle.h", |
| 140 ], | 142 ], |
| 141 "resource_dispatcher_host_impl\.(cc|h)": [ | 143 "resource_dispatcher_host_impl\.(cc|h)": [ |
| 142 "-content", | 144 "-content", |
| 143 "+content/browser/loader/async_resource_handler.h", | 145 "+content/browser/loader/async_resource_handler.h", |
| 144 "+content/browser/loader/async_revalidation_manager.h", | 146 "+content/browser/loader/async_revalidation_manager.h", |
| 145 "+content/browser/loader/global_routing_id.h", | 147 "+content/browser/loader/global_routing_id.h", |
| 146 "+content/browser/loader/loader_delegate.h", | 148 "+content/browser/loader/loader_delegate.h", |
| 147 "+content/browser/loader/mojo_async_resource_handler.h", | 149 "+content/browser/loader/mojo_async_resource_handler.h", |
| 150 "+content/browser/loader/null_resource_controller.h", |
| 148 "+content/browser/loader/power_save_block_resource_throttle.h", | 151 "+content/browser/loader/power_save_block_resource_throttle.h", |
| 149 "+content/browser/loader/resource_dispatcher_host_impl.h", | 152 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 150 "+content/browser/loader/resource_loader.h", | 153 "+content/browser/loader/resource_loader.h", |
| 151 "+content/browser/loader/resource_loader_delegate.h", | 154 "+content/browser/loader/resource_loader_delegate.h", |
| 152 "+content/browser/loader/resource_message_filter.h", | 155 "+content/browser/loader/resource_message_filter.h", |
| 153 "+content/browser/loader/resource_request_info_impl.h", | 156 "+content/browser/loader/resource_request_info_impl.h", |
| 154 "+content/browser/loader/resource_requester_info.h", | 157 "+content/browser/loader/resource_requester_info.h", |
| 155 "+content/browser/loader/resource_scheduler.h", | 158 "+content/browser/loader/resource_scheduler.h", |
| 156 "+content/browser/loader/stream_resource_handler.h", | 159 "+content/browser/loader/stream_resource_handler.h", |
| 157 "+content/browser/loader/sync_resource_handler.h", | 160 "+content/browser/loader/sync_resource_handler.h", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 "+content/public/common/resource_type.h", | 216 "+content/public/common/resource_type.h", |
| 214 | 217 |
| 215 # TODO: To be replaced by mojo. | 218 # TODO: To be replaced by mojo. |
| 216 "+content/common/resource_messages.h", | 219 "+content/common/resource_messages.h", |
| 217 "+content/common/resource_request.h", | 220 "+content/common/resource_request.h", |
| 218 "+content/common/resource_request_completion_status.h", | 221 "+content/common/resource_request_completion_status.h", |
| 219 "+content/common/view_messages.h", | 222 "+content/common/view_messages.h", |
| 220 ], | 223 ], |
| 221 "resource_handler\.(cc|h)": [ | 224 "resource_handler\.(cc|h)": [ |
| 222 "-content", | 225 "-content", |
| 226 "+content/browser/loader/resource_controller.h", |
| 227 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 223 "+content/browser/loader/resource_handler.h", | 228 "+content/browser/loader/resource_handler.h", |
| 224 "+content/browser/loader/resource_request_info_impl.h", | 229 "+content/browser/loader/resource_request_info_impl.h", |
| 225 "+content/common/content_export.h", | 230 "+content/common/content_export.h", |
| 226 ], | 231 ], |
| 227 "resource_loader\.(cc|h)": [ | 232 "resource_loader\.(cc|h)": [ |
| 228 "-content", | 233 "-content", |
| 229 "+content/browser/loader/resource_controller.h", | 234 "+content/browser/loader/resource_controller.h", |
| 230 "+content/browser/loader/resource_handler.h", | 235 "+content/browser/loader/resource_handler.h", |
| 231 "+content/browser/loader/resource_loader.h", | 236 "+content/browser/loader/resource_loader.h", |
| 232 "+content/browser/loader/resource_loader_delegate.h", | 237 "+content/browser/loader/resource_loader_delegate.h", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 "+content/browser/web_contents/web_contents_impl.h", | 278 "+content/browser/web_contents/web_contents_impl.h", |
| 274 "+content/common/net/url_request_service_worker_data.h", | 279 "+content/common/net/url_request_service_worker_data.h", |
| 275 "+content/common/net/url_request_user_data.h", | 280 "+content/common/net/url_request_user_data.h", |
| 276 "+content/public/browser/browser_thread.h", | 281 "+content/public/browser/browser_thread.h", |
| 277 "+content/public/browser/navigation_ui_data.h", | 282 "+content/public/browser/navigation_ui_data.h", |
| 278 "+content/public/common/browser_side_navigation_policy.h", | 283 "+content/public/common/browser_side_navigation_policy.h", |
| 279 "+content/public/common/process_type.h", | 284 "+content/public/common/process_type.h", |
| 280 ], | 285 ], |
| 281 "resource_requester_info\.(cc|h)": [ | 286 "resource_requester_info\.(cc|h)": [ |
| 282 "-content", | 287 "-content", |
| 288 "+content/browser/loader/resource_controller.h", |
| 283 "+content/browser/loader/resource_requester_info.h", | 289 "+content/browser/loader/resource_requester_info.h", |
| 284 "+content/common/content_export.h", | 290 "+content/common/content_export.h", |
| 285 "+content/public/browser/resource_context.h", | |
| 286 "+content/public/common/resource_type.h", | 291 "+content/public/common/resource_type.h", |
| 287 | 292 |
| 288 # TODO: these all have to be removed. | 293 # TODO: these all have to be removed. |
| 289 "+content/browser/appcache/chrome_appcache_service.h", | 294 "+content/browser/appcache/chrome_appcache_service.h", |
| 290 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 295 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
| 291 "+content/browser/service_worker/service_worker_context_wrapper.h", | 296 "+content/browser/service_worker/service_worker_context_wrapper.h", |
| 292 "+content/public/browser/browser_thread.h", | 297 "+content/public/browser/browser_thread.h", |
| 293 "+content/public/common/browser_side_navigation_policy.h", | 298 "+content/public/common/browser_side_navigation_policy.h", |
| 294 ], | 299 ], |
| 295 "resource_scheduler\.(cc|h)": [ | 300 "resource_scheduler\.(cc|h)": [ |
| 296 "-content", | 301 "-content", |
| 302 "+content/browser/loader/resource_controller.h", |
| 297 "+content/browser/loader/resource_scheduler.h", | 303 "+content/browser/loader/resource_scheduler.h", |
| 298 "+content/common/content_export.h", | 304 "+content/common/content_export.h", |
| 299 "+content/public/browser/resource_controller.h", | |
| 300 "+content/public/browser/resource_request_info.h", | 305 "+content/public/browser/resource_request_info.h", |
| 301 "+content/public/browser/resource_throttle.h", | 306 "+content/public/browser/resource_throttle.h", |
| 302 | 307 |
| 303 # TODO: To be replaced by mojo. | 308 # TODO: To be replaced by mojo. |
| 304 "+content/common/resource_messages.h", | 309 "+content/common/resource_messages.h", |
| 305 ], | 310 ], |
| 306 "resource_scheduler_filter\.(cc|h)": [ | 311 "resource_scheduler_filter\.(cc|h)": [ |
| 307 "-content", | 312 "-content", |
| 308 "+content/browser/loader/resource_dispatcher_host_impl.h", | 313 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 309 "+content/browser/loader/resource_scheduler.h", | 314 "+content/browser/loader/resource_scheduler.h", |
| 310 "+content/browser/loader/resource_scheduler_filter.h", | 315 "+content/browser/loader/resource_scheduler_filter.h", |
| 311 | 316 |
| 312 # TODO: To be replaced by mojo. | 317 # TODO: To be replaced by mojo. |
| 313 "+content/common/frame_messages.h", | 318 "+content/common/frame_messages.h", |
| 314 "+content/common/view_messages.h", | 319 "+content/common/view_messages.h", |
| 315 "+content/public/browser/browser_message_filter.h", | 320 "+content/public/browser/browser_message_filter.h", |
| 316 ], | 321 ], |
| 317 "sync_resource_handler\.(cc|h)": [ | 322 "sync_resource_handler\.(cc|h)": [ |
| 318 "-content", | 323 "-content", |
| 319 "+content/browser/loader/netlog_observer.h", | 324 "+content/browser/loader/netlog_observer.h", |
| 325 "+content/browser/loader/resource_controller.h", |
| 320 "+content/browser/loader/resource_dispatcher_host_impl.h", | 326 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 321 "+content/browser/loader/resource_handler.h", | 327 "+content/browser/loader/resource_handler.h", |
| 322 "+content/browser/loader/resource_request_info_impl.h", | 328 "+content/browser/loader/resource_request_info_impl.h", |
| 323 "+content/browser/loader/sync_resource_handler.h", | 329 "+content/browser/loader/sync_resource_handler.h", |
| 324 "+content/public/browser/resource_dispatcher_host_delegate.h", | 330 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 325 "+content/public/browser/resource_request_info.h", | 331 "+content/public/browser/resource_request_info.h", |
| 326 "+content/public/common/resource_response.h", | 332 "+content/public/common/resource_response.h", |
| 327 | 333 |
| 328 | 334 |
| 329 # TODO: To be replaced by mojo. | 335 # TODO: To be replaced by mojo. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 "+content/public/browser/resource_context.h", | 374 "+content/public/browser/resource_context.h", |
| 369 "+content/public/browser/resource_dispatcher_host_delegate.h", | 375 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 370 "+content/public/common/content_paths.h", | 376 "+content/public/common/content_paths.h", |
| 371 "+content/public/test/test_browser_context.h", | 377 "+content/public/test/test_browser_context.h", |
| 372 "+content/public/test/test_browser_thread_bundle.h", | 378 "+content/public/test/test_browser_thread_bundle.h", |
| 373 | 379 |
| 374 #TODO: To be removed when PlzNavigate lands. | 380 #TODO: To be removed when PlzNavigate lands. |
| 375 "+content/browser/loader/navigation_resource_throttle.h" | 381 "+content/browser/loader/navigation_resource_throttle.h" |
| 376 ], | 382 ], |
| 377 } | 383 } |
| OLD | NEW |