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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
47 # tests move. | 47 # tests move. |
48 "+content/public/browser/client_certificate_delegate.h", | 48 "+content/public/browser/client_certificate_delegate.h", |
49 "+content/public/common/content_client.h", | 49 "+content/public/common/content_client.h", |
50 "+content/public/test/test_browser_thread_bundle.h", | 50 "+content/public/test/test_browser_thread_bundle.h", |
51 "+content/test/test_content_browser_client.h", | 51 "+content/test/test_content_browser_client.h", |
52 ], | 52 ], |
53 "async_revalidation_manager\.(cc|h)": [ | 53 "async_revalidation_manager\.(cc|h)": [ |
54 "-content", | 54 "-content", |
55 "+content/browser/loader/async_revalidation_driver.h", | 55 "+content/browser/loader/async_revalidation_driver.h", |
56 "+content/browser/loader/async_revalidation_manager.h", | 56 "+content/browser/loader/async_revalidation_manager.h", |
57 "+content/browser/loader/resource_message_filter.h", | |
58 "+content/browser/loader/resource_request_info_impl.h", | 57 "+content/browser/loader/resource_request_info_impl.h", |
59 "+content/browser/loader/resource_scheduler.h", | 58 "+content/browser/loader/resource_scheduler.h", |
60 "+content/public/browser/resource_throttle.h", | 59 "+content/public/browser/resource_throttle.h", |
61 | 60 |
62 # TODO: To be replaced by mojo. | 61 # TODO: To be replaced by mojo. |
63 "+content/common/resource_messages.h", | 62 "+content/common/resource_messages.h", |
64 "+content/common/resource_request.h", | 63 "+content/common/resource_request.h", |
65 ], | 64 ], |
66 "resource_buffer.*\.(cc|h)": [ | 65 "resource_buffer.*\.(cc|h)": [ |
67 "-content", | 66 "-content", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
136 "+content/browser/loader/async_revalidation_manager.h", | 135 "+content/browser/loader/async_revalidation_manager.h", |
137 "+content/browser/loader/global_routing_id.h", | 136 "+content/browser/loader/global_routing_id.h", |
138 "+content/browser/loader/loader_delegate.h", | 137 "+content/browser/loader/loader_delegate.h", |
139 "+content/browser/loader/mojo_async_resource_handler.h", | 138 "+content/browser/loader/mojo_async_resource_handler.h", |
140 "+content/browser/loader/power_save_block_resource_throttle.h", | 139 "+content/browser/loader/power_save_block_resource_throttle.h", |
141 "+content/browser/loader/resource_dispatcher_host_impl.h", | 140 "+content/browser/loader/resource_dispatcher_host_impl.h", |
142 "+content/browser/loader/resource_loader.h", | 141 "+content/browser/loader/resource_loader.h", |
143 "+content/browser/loader/resource_loader_delegate.h", | 142 "+content/browser/loader/resource_loader_delegate.h", |
144 "+content/browser/loader/resource_message_filter.h", | 143 "+content/browser/loader/resource_message_filter.h", |
145 "+content/browser/loader/resource_request_info_impl.h", | 144 "+content/browser/loader/resource_request_info_impl.h", |
145 "+content/browser/loader/resource_requester_info.h", | |
mmenke
2016/11/22 17:44:12
Need to add an enter to this file for resource_req
horo
2016/11/24 04:07:10
Done.
| |
146 "+content/browser/loader/resource_scheduler.h", | 146 "+content/browser/loader/resource_scheduler.h", |
147 "+content/browser/loader/stream_resource_handler.h", | 147 "+content/browser/loader/stream_resource_handler.h", |
148 "+content/browser/loader/sync_resource_handler.h", | 148 "+content/browser/loader/sync_resource_handler.h", |
149 "+content/browser/loader/throttling_resource_handler.h", | 149 "+content/browser/loader/throttling_resource_handler.h", |
150 "+content/common/resource_request_body.h", | 150 "+content/common/resource_request_body.h", |
151 "+content/common/resource_request_body_impl.h", | 151 "+content/common/resource_request_body_impl.h", |
152 "+content/common/url_loader.mojom.h", | 152 "+content/common/url_loader.mojom.h", |
153 "+content/public/browser/global_request_id.h", | 153 "+content/public/browser/global_request_id.h", |
154 "+content/public/browser/resource_dispatcher_host.h", | 154 "+content/public/browser/resource_dispatcher_host.h", |
155 "+content/public/browser/resource_dispatcher_host_delegate.h", | 155 "+content/public/browser/resource_dispatcher_host_delegate.h", |
(...skipping 16 matching lines...) Expand all Loading... | |
172 "+content/browser/loader/intercepting_resource_handler.h", | 172 "+content/browser/loader/intercepting_resource_handler.h", |
173 "+content/browser/loader/mime_sniffing_resource_handler.h", | 173 "+content/browser/loader/mime_sniffing_resource_handler.h", |
174 "+content/browser/loader/navigation_resource_handler.h", | 174 "+content/browser/loader/navigation_resource_handler.h", |
175 "+content/browser/loader/navigation_resource_throttle.h", | 175 "+content/browser/loader/navigation_resource_throttle.h", |
176 "+content/browser/loader/navigation_url_loader_impl_core.h", | 176 "+content/browser/loader/navigation_url_loader_impl_core.h", |
177 "+content/browser/loader/redirect_to_file_resource_handler.h", | 177 "+content/browser/loader/redirect_to_file_resource_handler.h", |
178 "+content/browser/loader/upload_data_stream_builder.h", | 178 "+content/browser/loader/upload_data_stream_builder.h", |
179 "+content/browser/resource_context_impl.h", | 179 "+content/browser/resource_context_impl.h", |
180 "+content/browser/service_worker/foreign_fetch_request_handler.h", | 180 "+content/browser/service_worker/foreign_fetch_request_handler.h", |
181 "+content/browser/service_worker/link_header_support.h", | 181 "+content/browser/service_worker/link_header_support.h", |
182 "+content/browser/service_worker/service_worker_context_wrapper.h", | |
182 "+content/browser/service_worker/service_worker_navigation_handle_core.h", | 183 "+content/browser/service_worker/service_worker_navigation_handle_core.h", |
183 "+content/browser/service_worker/service_worker_request_handler.h", | 184 "+content/browser/service_worker/service_worker_request_handler.h", |
184 "+content/browser/streams/stream.h", | 185 "+content/browser/streams/stream.h", |
185 "+content/browser/streams/stream_context.h", | 186 "+content/browser/streams/stream_context.h", |
186 "+content/browser/streams/stream_registry.h", | 187 "+content/browser/streams/stream_registry.h", |
187 "+content/common/content_export.h", | 188 "+content/common/content_export.h", |
188 "+content/common/navigation_params.h", | 189 "+content/common/navigation_params.h", |
189 "+content/common/net/url_request_service_worker_data.h", | 190 "+content/common/net/url_request_service_worker_data.h", |
190 "+content/common/site_isolation_policy.h", | 191 "+content/common/site_isolation_policy.h", |
191 "+content/public/browser/browser_thread.h", | 192 "+content/public/browser/browser_thread.h", |
192 "+content/public/browser/navigation_ui_data.h", | 193 "+content/public/browser/navigation_ui_data.h", |
193 "+content/public/browser/plugin_service.h", | 194 "+content/public/browser/plugin_service.h", |
194 "+content/public/browser/resource_request_details.h", | 195 "+content/public/browser/resource_request_details.h", |
195 "+content/public/browser/stream_handle.h", | 196 "+content/public/browser/stream_handle.h", |
196 "+content/public/browser/stream_info.h", | 197 "+content/public/browser/stream_info.h", |
197 "+content/public/browser/web_contents_observer.h", | 198 "+content/public/browser/web_contents_observer.h", |
198 "+content/public/common/browser_side_navigation_policy.h", | 199 "+content/public/common/browser_side_navigation_policy.h", |
199 "+content/public/common/content_features.h", | 200 "+content/public/common/content_features.h", |
200 "+content/public/common/content_switches.h", | 201 "+content/public/common/content_switches.h", |
201 "+content/public/common/process_type.h", | |
202 "+content/public/common/request_context_type.h", | 202 "+content/public/common/request_context_type.h", |
203 "+content/public/common/resource_type.h", | 203 "+content/public/common/resource_type.h", |
204 | 204 |
205 # TODO: To be replaced by mojo. | 205 # TODO: To be replaced by mojo. |
206 "+content/common/resource_messages.h", | 206 "+content/common/resource_messages.h", |
207 "+content/common/resource_request.h", | 207 "+content/common/resource_request.h", |
208 "+content/common/resource_request_completion_status.h", | 208 "+content/common/resource_request_completion_status.h", |
209 "+content/common/view_messages.h", | 209 "+content/common/view_messages.h", |
210 ], | 210 ], |
211 "resource_handler\.(cc|h)": [ | 211 "resource_handler\.(cc|h)": [ |
(...skipping 20 matching lines...) Expand all Loading... | |
232 # TODO: these all have to be removed. | 232 # TODO: these all have to be removed. |
233 "+content/browser/appcache/appcache_interceptor.h", | 233 "+content/browser/appcache/appcache_interceptor.h", |
234 "+content/browser/child_process_security_policy_impl.h", | 234 "+content/browser/child_process_security_policy_impl.h", |
235 "+content/browser/loader/cross_site_resource_handler.h", | 235 "+content/browser/loader/cross_site_resource_handler.h", |
236 "+content/browser/loader/detachable_resource_handler.h", | 236 "+content/browser/loader/detachable_resource_handler.h", |
237 "+content/browser/service_worker/service_worker_request_handler.h", | 237 "+content/browser/service_worker/service_worker_request_handler.h", |
238 "+content/browser/service_worker/service_worker_response_info.h", | 238 "+content/browser/service_worker/service_worker_response_info.h", |
239 "+content/browser/ssl/ssl_manager.h", | 239 "+content/browser/ssl/ssl_manager.h", |
240 "+content/public/common/content_client.h", | 240 "+content/public/common/content_client.h", |
241 "+content/public/common/content_switches.h", | 241 "+content/public/common/content_switches.h", |
242 "+content/public/common/process_type.h", | |
243 ], | 242 ], |
244 "resource_handler_delegate\.h": [ | 243 "resource_handler_delegate\.h": [ |
245 "-content", | 244 "-content", |
246 ], | 245 ], |
247 "resource_request_info_impl\.(cc|h)": [ | 246 "resource_request_info_impl\.(cc|h)": [ |
248 "-content", | 247 "-content", |
249 "+content/browser/loader/global_routing_id.h", | 248 "+content/browser/loader/global_routing_id.h", |
250 "+content/browser/loader/resource_handler.h", | 249 "+content/browser/loader/resource_handler.h", |
251 "+content/browser/loader/resource_message_filter.h", | 250 "+content/browser/loader/resource_message_filter.h", |
252 "+content/browser/loader/resource_request_info_impl.h", | 251 "+content/browser/loader/resource_request_info_impl.h", |
252 "+content/browser/loader/resource_requester_info.h", | |
253 "+content/common/content_export.h", | 253 "+content/common/content_export.h", |
254 "+content/common/resource_request_body_impl.h", | 254 "+content/common/resource_request_body_impl.h", |
255 "+content/public/browser/global_request_id.h", | 255 "+content/public/browser/global_request_id.h", |
256 "+content/public/browser/resource_request_info.h", | 256 "+content/public/browser/resource_request_info.h", |
257 "+content/public/common/referrer.h", | 257 "+content/public/common/referrer.h", |
258 "+content/public/common/resource_type.h", | 258 "+content/public/common/resource_type.h", |
259 | 259 |
260 # TODO: these all have to be removed. | 260 # TODO: these all have to be removed. |
261 "+content/browser/frame_host/frame_tree_node.h", | 261 "+content/browser/frame_host/frame_tree_node.h", |
262 "+content/browser/service_worker/service_worker_context_wrapper.h", | |
263 "+content/browser/web_contents/web_contents_impl.h", | 262 "+content/browser/web_contents/web_contents_impl.h", |
264 "+content/common/net/url_request_service_worker_data.h", | 263 "+content/common/net/url_request_service_worker_data.h", |
265 "+content/common/net/url_request_user_data.h", | 264 "+content/common/net/url_request_user_data.h", |
266 "+content/public/browser/browser_thread.h", | 265 "+content/public/browser/browser_thread.h", |
267 "+content/public/browser/navigation_ui_data.h", | 266 "+content/public/browser/navigation_ui_data.h", |
268 "+content/public/common/browser_side_navigation_policy.h", | 267 "+content/public/common/browser_side_navigation_policy.h", |
269 "+content/public/common/process_type.h", | 268 "+content/public/common/process_type.h", |
270 ], | 269 ], |
271 "resource_scheduler\.(cc|h)": [ | 270 "resource_scheduler\.(cc|h)": [ |
272 "-content", | 271 "-content", |
(...skipping 15 matching lines...) Expand all Loading... | |
288 # TODO: To be replaced by mojo. | 287 # TODO: To be replaced by mojo. |
289 "+content/common/frame_messages.h", | 288 "+content/common/frame_messages.h", |
290 "+content/common/view_messages.h", | 289 "+content/common/view_messages.h", |
291 "+content/public/browser/browser_message_filter.h", | 290 "+content/public/browser/browser_message_filter.h", |
292 ], | 291 ], |
293 "sync_resource_handler\.(cc|h)": [ | 292 "sync_resource_handler\.(cc|h)": [ |
294 "-content", | 293 "-content", |
295 "+content/browser/loader/netlog_observer.h", | 294 "+content/browser/loader/netlog_observer.h", |
296 "+content/browser/loader/resource_dispatcher_host_impl.h", | 295 "+content/browser/loader/resource_dispatcher_host_impl.h", |
297 "+content/browser/loader/resource_handler.h", | 296 "+content/browser/loader/resource_handler.h", |
298 "+content/browser/loader/resource_message_filter.h", | |
299 "+content/browser/loader/resource_request_info_impl.h", | 297 "+content/browser/loader/resource_request_info_impl.h", |
300 "+content/browser/loader/sync_resource_handler.h", | 298 "+content/browser/loader/sync_resource_handler.h", |
301 "+content/public/browser/resource_dispatcher_host_delegate.h", | 299 "+content/public/browser/resource_dispatcher_host_delegate.h", |
302 "+content/public/browser/resource_request_info.h", | 300 "+content/public/browser/resource_request_info.h", |
303 "+content/public/common/resource_response.h", | 301 "+content/public/common/resource_response.h", |
304 | 302 |
305 | 303 |
306 # TODO: To be replaced by mojo. | 304 # TODO: To be replaced by mojo. |
307 "+content/common/resource_messages.h", | 305 "+content/common/resource_messages.h", |
308 ], | 306 ], |
309 "test_url_loader_client\.(cc|h)": [ | 307 "test_url_loader_client\.(cc|h)": [ |
310 "-content", | 308 "-content", |
311 "+content/browser/loader/test_url_loader_client.h", | 309 "+content/browser/loader/test_url_loader_client.h", |
312 "+content/common/resource_request_completion_status.h", | 310 "+content/common/resource_request_completion_status.h", |
313 "+content/common/url_loader.mojom.h", | 311 "+content/common/url_loader.mojom.h", |
314 "+content/common/url_loader_factory.mojom.h", | 312 "+content/common/url_loader_factory.mojom.h", |
315 "+content/public/common/resource_response.h", | 313 "+content/public/common/resource_response.h", |
316 ], | 314 ], |
317 "url_loader_factory_impl\.(cc|h)": [ | 315 "url_loader_factory_impl\.(cc|h)": [ |
318 "-content", | 316 "-content", |
319 "+content/browser/loader/resource_dispatcher_host_impl.h", | 317 "+content/browser/loader/resource_dispatcher_host_impl.h", |
320 "+content/browser/loader/resource_message_filter.h", | 318 "+content/browser/loader/resource_requester_info.h", |
321 "+content/browser/loader/url_loader_factory_impl.h", | 319 "+content/browser/loader/url_loader_factory_impl.h", |
322 "+content/common/content_export.h", | 320 "+content/common/content_export.h", |
323 "+content/common/resource_request.h", | 321 "+content/common/resource_request.h", |
324 "+content/common/url_loader.mojom.h", | 322 "+content/common/url_loader.mojom.h", |
325 "+content/common/url_loader_factory.mojom.h", | 323 "+content/common/url_loader_factory.mojom.h", |
326 "+content/public/browser/browser_thread.h", | 324 "+content/public/browser/browser_thread.h", |
327 ], | 325 ], |
328 "url_loader_factory_impl_unittest\.cc": [ | 326 "url_loader_factory_impl_unittest\.cc": [ |
329 "-content", | 327 "-content", |
330 "+content/browser/loader/mojo_async_resource_handler.h", | 328 "+content/browser/loader/mojo_async_resource_handler.h", |
331 "+content/browser/loader/test_url_loader_client.h", | 329 "+content/browser/loader/test_url_loader_client.h", |
332 "+content/browser/loader/resource_dispatcher_host_impl.h", | 330 "+content/browser/loader/resource_dispatcher_host_impl.h", |
333 "+content/browser/loader/resource_message_filter.h", | 331 "+content/browser/loader/resource_message_filter.h", |
334 "+content/browser/loader/resource_request_info_impl.h", | 332 "+content/browser/loader/resource_request_info_impl.h", |
335 "+content/browser/loader/url_loader_factory_impl.h", | 333 "+content/browser/loader/url_loader_factory_impl.h", |
336 "+content/browser/loader_delegate_impl.h", | 334 "+content/browser/loader_delegate_impl.h", |
337 "+content/common/resource_request.h", | 335 "+content/common/resource_request.h", |
338 "+content/common/resource_request_completion_status.h", | 336 "+content/common/resource_request_completion_status.h", |
339 "+content/common/url_loader.mojom.h", | 337 "+content/common/url_loader.mojom.h", |
340 "+content/common/url_loader_factory.mojom.h", | 338 "+content/common/url_loader_factory.mojom.h", |
341 "+content/public/browser/resource_context.h", | 339 "+content/public/browser/resource_context.h", |
342 "+content/public/browser/resource_dispatcher_host_delegate.h", | 340 "+content/public/browser/resource_dispatcher_host_delegate.h", |
343 "+content/public/common/content_paths.h", | 341 "+content/public/common/content_paths.h", |
344 "+content/public/common/process_type.h", | |
345 "+content/public/test/test_browser_context.h", | 342 "+content/public/test/test_browser_context.h", |
346 "+content/public/test/test_browser_thread_bundle.h", | 343 "+content/public/test/test_browser_thread_bundle.h", |
347 | 344 |
348 #TODO: To be removed when PlzNavigate lands. | 345 #TODO: To be removed when PlzNavigate lands. |
349 "+content/browser/loader/navigation_resource_throttle.h" | 346 "+content/browser/loader/navigation_resource_throttle.h" |
350 ], | 347 ], |
351 } | 348 } |
OLD | NEW |