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", |
| 25 "+content/common/url_loader_type_converters.h", |
24 | 26 |
25 # TODO: these all have to be removed. | 27 # TODO: these all have to be removed. |
26 "+content/browser/host_zoom_map_impl.h", | 28 "+content/browser/host_zoom_map_impl.h", |
27 "+content/browser/resource_context_impl.h", | 29 "+content/browser/resource_context_impl.h", |
28 "+content/public/common/content_features.h", | 30 "+content/public/common/content_features.h", |
29 | 31 |
30 # TODO: To be replaced by mojo. | 32 # TODO: To be replaced by mojo. |
31 "+content/common/resource_messages.h", | 33 "+content/common/resource_messages.h", |
32 "+content/common/view_messages.h", | 34 "+content/common/view_messages.h", |
33 ], | 35 ], |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "+content/browser/loader/power_save_block_resource_throttle.h", | 105 "+content/browser/loader/power_save_block_resource_throttle.h", |
104 "+content/browser/loader/resource_dispatcher_host_impl.h", | 106 "+content/browser/loader/resource_dispatcher_host_impl.h", |
105 "+content/browser/loader/resource_loader.h", | 107 "+content/browser/loader/resource_loader.h", |
106 "+content/browser/loader/resource_loader_delegate.h", | 108 "+content/browser/loader/resource_loader_delegate.h", |
107 "+content/browser/loader/resource_message_filter.h", | 109 "+content/browser/loader/resource_message_filter.h", |
108 "+content/browser/loader/resource_request_info_impl.h", | 110 "+content/browser/loader/resource_request_info_impl.h", |
109 "+content/browser/loader/resource_scheduler.h", | 111 "+content/browser/loader/resource_scheduler.h", |
110 "+content/browser/loader/stream_resource_handler.h", | 112 "+content/browser/loader/stream_resource_handler.h", |
111 "+content/browser/loader/sync_resource_handler.h", | 113 "+content/browser/loader/sync_resource_handler.h", |
112 "+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", |
| 117 "+content/common/url_loader_type_converters.h", |
113 "+content/public/browser/global_request_id.h", | 118 "+content/public/browser/global_request_id.h", |
114 "+content/public/browser/resource_dispatcher_host.h", | 119 "+content/public/browser/resource_dispatcher_host.h", |
115 "+content/public/browser/resource_dispatcher_host_delegate.h", | 120 "+content/public/browser/resource_dispatcher_host_delegate.h", |
116 "+content/public/browser/resource_throttle.h", | 121 "+content/public/browser/resource_throttle.h", |
117 | 122 |
118 # TODO: These all have to be removed. | 123 # TODO: These all have to be removed. |
119 "+content/browser/appcache/appcache_interceptor.h", | 124 "+content/browser/appcache/appcache_interceptor.h", |
120 "+content/browser/appcache/chrome_appcache_service.h", | 125 "+content/browser/appcache/chrome_appcache_service.h", |
121 "+content/browser/bad_message.h", | 126 "+content/browser/bad_message.h", |
122 "+content/browser/cert_store_impl.h", | 127 "+content/browser/cert_store_impl.h", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 "+content/browser/loader/resource_request_info_impl.h", | 188 "+content/browser/loader/resource_request_info_impl.h", |
184 "+content/common/content_export.h", | 189 "+content/common/content_export.h", |
185 ], | 190 ], |
186 "resource_loader\.(cc|h)": [ | 191 "resource_loader\.(cc|h)": [ |
187 "-content", | 192 "-content", |
188 "+content/browser/loader/resource_handler.h", | 193 "+content/browser/loader/resource_handler.h", |
189 "+content/browser/loader/resource_loader.h", | 194 "+content/browser/loader/resource_loader.h", |
190 "+content/browser/loader/resource_loader_delegate.h", | 195 "+content/browser/loader/resource_loader_delegate.h", |
191 "+content/browser/loader/resource_request_info_impl.h", | 196 "+content/browser/loader/resource_request_info_impl.h", |
192 "+content/common/content_export.h", | 197 "+content/common/content_export.h", |
| 198 "+content/common/url_loader.mojom.h", |
193 "+content/public/browser/resource_controller.h", | 199 "+content/public/browser/resource_controller.h", |
194 "+content/public/browser/resource_dispatcher_host_login_delegate.h", | 200 "+content/public/browser/resource_dispatcher_host_login_delegate.h", |
195 "+content/public/common/resource_response.h", | 201 "+content/public/common/resource_response.h", |
196 | 202 |
197 # TODO: these all have to be removed. | 203 # TODO: these all have to be removed. |
198 "+content/browser/appcache/appcache_interceptor.h", | 204 "+content/browser/appcache/appcache_interceptor.h", |
199 "+content/browser/child_process_security_policy_impl.h", | 205 "+content/browser/child_process_security_policy_impl.h", |
200 "+content/browser/loader/cross_site_resource_handler.h", | 206 "+content/browser/loader/cross_site_resource_handler.h", |
201 "+content/browser/loader/detachable_resource_handler.h", | 207 "+content/browser/loader/detachable_resource_handler.h", |
202 "+content/browser/service_worker/service_worker_request_handler.h", | 208 "+content/browser/service_worker/service_worker_request_handler.h", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 "+content/browser/loader/sync_resource_handler.h", | 277 "+content/browser/loader/sync_resource_handler.h", |
272 "+content/public/browser/resource_dispatcher_host_delegate.h", | 278 "+content/public/browser/resource_dispatcher_host_delegate.h", |
273 "+content/public/browser/resource_request_info.h", | 279 "+content/public/browser/resource_request_info.h", |
274 "+content/public/common/resource_response.h", | 280 "+content/public/common/resource_response.h", |
275 | 281 |
276 | 282 |
277 # TODO: To be replaced by mojo. | 283 # TODO: To be replaced by mojo. |
278 "+content/common/resource_messages.h", | 284 "+content/common/resource_messages.h", |
279 ], | 285 ], |
280 } | 286 } |
OLD | NEW |