| 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 14 matching lines...) Expand all Loading... |
| 25 "+content/public/common/resource_response.h", | 25 "+content/public/common/resource_response.h", |
| 26 | 26 |
| 27 # TODO: these all have to be removed. | 27 # TODO: these all have to be removed. |
| 28 "+content/public/common/content_features.h", | 28 "+content/public/common/content_features.h", |
| 29 | 29 |
| 30 # TODO: To be replaced by mojo. | 30 # TODO: To be replaced by mojo. |
| 31 "+content/common/resource_messages.h", | 31 "+content/common/resource_messages.h", |
| 32 "+content/common/resource_request_completion_status.h", | 32 "+content/common/resource_request_completion_status.h", |
| 33 "+content/common/view_messages.h", | 33 "+content/common/view_messages.h", |
| 34 ], | 34 ], |
| 35 "async_revalidation_driver\.(cc|h)": [ | |
| 36 "-content", | |
| 37 "+content/browser/loader/async_revalidation_driver.h", | |
| 38 "+content/common/content_export.h", | |
| 39 "+content/public/browser/resource_throttle.h", | |
| 40 ], | |
| 41 "async_revalidation_driver_unittest\.cc": [ | |
| 42 "-content", | |
| 43 "+content/browser/loader/async_revalidation_driver.h", | |
| 44 | |
| 45 # TODO: these all have to be removed. | |
| 46 # Only one test needs these, so that can stay in content while the other | |
| 47 # tests move. | |
| 48 "+content/public/browser/client_certificate_delegate.h", | |
| 49 "+content/public/common/content_client.h", | |
| 50 "+content/public/test/test_browser_thread_bundle.h", | |
| 51 "+content/test/test_content_browser_client.h", | |
| 52 ], | |
| 53 "async_revalidation_manager\.(cc|h)": [ | |
| 54 "-content", | |
| 55 "+content/browser/loader/async_revalidation_driver.h", | |
| 56 "+content/browser/loader/async_revalidation_manager.h", | |
| 57 "+content/browser/loader/resource_request_info_impl.h", | |
| 58 "+content/browser/loader/resource_scheduler.h", | |
| 59 "+content/public/browser/resource_throttle.h", | |
| 60 | |
| 61 # TODO: To be replaced by mojo. | |
| 62 "+content/common/resource_messages.h", | |
| 63 "+content/common/resource_request.h", | |
| 64 ], | |
| 65 "downloaded_temp_file_impl\.(cc|h)": [ | 35 "downloaded_temp_file_impl\.(cc|h)": [ |
| 66 "-content", | 36 "-content", |
| 67 "+content/browser/loader/downloaded_temp_file_impl.h", | 37 "+content/browser/loader/downloaded_temp_file_impl.h", |
| 68 "+content/browser/loader/resource_dispatcher_host_impl.h", | 38 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 69 "+content/common/content_export.h", | 39 "+content/common/content_export.h", |
| 70 "+content/common/url_loader_factory.mojom.h" | 40 "+content/common/url_loader_factory.mojom.h" |
| 71 ], | 41 ], |
| 72 "resource_buffer.*\.(cc|h)": [ | 42 "resource_buffer.*\.(cc|h)": [ |
| 73 "-content", | 43 "-content", |
| 74 "+content/browser/loader/resource_buffer.h", | 44 "+content/browser/loader/resource_buffer.h", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 "+content/public/common/resource_devtools_info.h", | 108 "+content/public/common/resource_devtools_info.h", |
| 139 ], | 109 ], |
| 140 "power_save_block_resource_throttle\.(cc|h)": [ | 110 "power_save_block_resource_throttle\.(cc|h)": [ |
| 141 "-content", | 111 "-content", |
| 142 "+content/browser/loader/power_save_block_resource_throttle.h", | 112 "+content/browser/loader/power_save_block_resource_throttle.h", |
| 143 "+content/public/browser/resource_throttle.h", | 113 "+content/public/browser/resource_throttle.h", |
| 144 ], | 114 ], |
| 145 "resource_dispatcher_host_impl\.(cc|h)": [ | 115 "resource_dispatcher_host_impl\.(cc|h)": [ |
| 146 "-content", | 116 "-content", |
| 147 "+content/browser/loader/async_resource_handler.h", | 117 "+content/browser/loader/async_resource_handler.h", |
| 148 "+content/browser/loader/async_revalidation_manager.h", | |
| 149 "+content/browser/loader/global_routing_id.h", | 118 "+content/browser/loader/global_routing_id.h", |
| 150 "+content/browser/loader/loader_delegate.h", | 119 "+content/browser/loader/loader_delegate.h", |
| 151 "+content/browser/loader/mojo_async_resource_handler.h", | 120 "+content/browser/loader/mojo_async_resource_handler.h", |
| 152 "+content/browser/loader/null_resource_controller.h", | 121 "+content/browser/loader/null_resource_controller.h", |
| 153 "+content/browser/loader/power_save_block_resource_throttle.h", | 122 "+content/browser/loader/power_save_block_resource_throttle.h", |
| 154 "+content/browser/loader/resource_dispatcher_host_impl.h", | 123 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 155 "+content/browser/loader/resource_loader.h", | 124 "+content/browser/loader/resource_loader.h", |
| 156 "+content/browser/loader/resource_loader_delegate.h", | 125 "+content/browser/loader/resource_loader_delegate.h", |
| 157 "+content/browser/loader/resource_message_filter.h", | 126 "+content/browser/loader/resource_message_filter.h", |
| 158 "+content/browser/loader/resource_request_info_impl.h", | 127 "+content/browser/loader/resource_request_info_impl.h", |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 "+content/public/browser/resource_context.h", | 346 "+content/public/browser/resource_context.h", |
| 378 "+content/public/browser/resource_dispatcher_host_delegate.h", | 347 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 379 "+content/public/common/content_paths.h", | 348 "+content/public/common/content_paths.h", |
| 380 "+content/public/test/test_browser_context.h", | 349 "+content/public/test/test_browser_context.h", |
| 381 "+content/public/test/test_browser_thread_bundle.h", | 350 "+content/public/test/test_browser_thread_bundle.h", |
| 382 | 351 |
| 383 #TODO: To be removed when PlzNavigate lands. | 352 #TODO: To be removed when PlzNavigate lands. |
| 384 "+content/browser/loader/navigation_resource_throttle.h" | 353 "+content/browser/loader/navigation_resource_throttle.h" |
| 385 ], | 354 ], |
| 386 } | 355 } |
| OLD | NEW |