| 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", |
| 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/common/url_loader.mojom.h", | 255 "+content/common/url_loader.mojom.h", |
| 256 "+content/public/browser/global_request_id.h", | 256 "+content/public/browser/global_request_id.h", |
| 257 "+content/public/browser/resource_request_info.h", | 257 "+content/public/browser/resource_request_info.h", |
| 258 "+content/public/common/referrer.h", | 258 "+content/public/common/referrer.h", |
| 259 "+content/public/common/resource_type.h", | 259 "+content/public/common/resource_type.h", |
| 260 | 260 |
| 261 # TODO: these all have to be removed. | 261 # TODO: these all have to be removed. |
| 262 "+content/browser/frame_host/frame_tree_node.h", | 262 "+content/browser/frame_host/frame_tree_node.h", |
| 263 "+content/browser/service_worker/service_worker_context_wrapper.h", | |
| 264 "+content/browser/web_contents/web_contents_impl.h", | 263 "+content/browser/web_contents/web_contents_impl.h", |
| 265 "+content/common/net/url_request_service_worker_data.h", | 264 "+content/common/net/url_request_service_worker_data.h", |
| 266 "+content/common/net/url_request_user_data.h", | 265 "+content/common/net/url_request_user_data.h", |
| 267 "+content/public/browser/browser_thread.h", | 266 "+content/public/browser/browser_thread.h", |
| 268 "+content/public/browser/navigation_ui_data.h", | 267 "+content/public/browser/navigation_ui_data.h", |
| 269 "+content/public/common/browser_side_navigation_policy.h", | 268 "+content/public/common/browser_side_navigation_policy.h", |
| 270 "+content/public/common/process_type.h", | 269 "+content/public/common/process_type.h", |
| 271 ], | 270 ], |
| 271 "resource_requester_info\.(cc|h)": [ |
| 272 "-content", |
| 273 "+content/browser/loader/resource_requester_info.h", |
| 274 "+content/common/content_export.h", |
| 275 "+content/public/common/resource_type.h", |
| 276 |
| 277 # TODO: these all have to be removed. |
| 278 "+content/browser/appcache/chrome_appcache_service.h", |
| 279 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
| 280 "+content/browser/service_worker/service_worker_context_wrapper.h", |
| 281 "+content/public/browser/browser_thread.h", |
| 282 ], |
| 272 "resource_scheduler\.(cc|h)": [ | 283 "resource_scheduler\.(cc|h)": [ |
| 273 "-content", | 284 "-content", |
| 274 "+content/browser/loader/resource_scheduler.h", | 285 "+content/browser/loader/resource_scheduler.h", |
| 275 "+content/common/content_export.h", | 286 "+content/common/content_export.h", |
| 276 "+content/public/browser/resource_controller.h", | 287 "+content/public/browser/resource_controller.h", |
| 277 "+content/public/browser/resource_request_info.h", | 288 "+content/public/browser/resource_request_info.h", |
| 278 "+content/public/browser/resource_throttle.h", | 289 "+content/public/browser/resource_throttle.h", |
| 279 | 290 |
| 280 # TODO: To be replaced by mojo. | 291 # TODO: To be replaced by mojo. |
| 281 "+content/common/resource_messages.h", | 292 "+content/common/resource_messages.h", |
| 282 ], | 293 ], |
| 283 "resource_scheduler_filter\.(cc|h)": [ | 294 "resource_scheduler_filter\.(cc|h)": [ |
| 284 "-content", | 295 "-content", |
| 285 "+content/browser/loader/resource_dispatcher_host_impl.h", | 296 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 286 "+content/browser/loader/resource_scheduler.h", | 297 "+content/browser/loader/resource_scheduler.h", |
| 287 "+content/browser/loader/resource_scheduler_filter.h", | 298 "+content/browser/loader/resource_scheduler_filter.h", |
| 288 | 299 |
| 289 # TODO: To be replaced by mojo. | 300 # TODO: To be replaced by mojo. |
| 290 "+content/common/frame_messages.h", | 301 "+content/common/frame_messages.h", |
| 291 "+content/common/view_messages.h", | 302 "+content/common/view_messages.h", |
| 292 "+content/public/browser/browser_message_filter.h", | 303 "+content/public/browser/browser_message_filter.h", |
| 293 ], | 304 ], |
| 294 "sync_resource_handler\.(cc|h)": [ | 305 "sync_resource_handler\.(cc|h)": [ |
| 295 "-content", | 306 "-content", |
| 296 "+content/browser/loader/netlog_observer.h", | 307 "+content/browser/loader/netlog_observer.h", |
| 297 "+content/browser/loader/resource_dispatcher_host_impl.h", | 308 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 298 "+content/browser/loader/resource_handler.h", | 309 "+content/browser/loader/resource_handler.h", |
| 299 "+content/browser/loader/resource_message_filter.h", | |
| 300 "+content/browser/loader/resource_request_info_impl.h", | 310 "+content/browser/loader/resource_request_info_impl.h", |
| 301 "+content/browser/loader/sync_resource_handler.h", | 311 "+content/browser/loader/sync_resource_handler.h", |
| 302 "+content/public/browser/resource_dispatcher_host_delegate.h", | 312 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 303 "+content/public/browser/resource_request_info.h", | 313 "+content/public/browser/resource_request_info.h", |
| 304 "+content/public/common/resource_response.h", | 314 "+content/public/common/resource_response.h", |
| 305 | 315 |
| 306 | 316 |
| 307 # TODO: To be replaced by mojo. | 317 # TODO: To be replaced by mojo. |
| 308 "+content/common/resource_messages.h", | 318 "+content/common/resource_messages.h", |
| 309 ], | 319 ], |
| 310 "test_url_loader_client\.(cc|h)": [ | 320 "test_url_loader_client\.(cc|h)": [ |
| 311 "-content", | 321 "-content", |
| 312 "+content/browser/loader/test_url_loader_client.h", | 322 "+content/browser/loader/test_url_loader_client.h", |
| 313 "+content/common/resource_request_completion_status.h", | 323 "+content/common/resource_request_completion_status.h", |
| 314 "+content/common/url_loader.mojom.h", | 324 "+content/common/url_loader.mojom.h", |
| 315 "+content/common/url_loader_factory.mojom.h", | 325 "+content/common/url_loader_factory.mojom.h", |
| 316 "+content/public/common/resource_response.h", | 326 "+content/public/common/resource_response.h", |
| 317 ], | 327 ], |
| 318 "url_loader_factory_impl\.(cc|h)": [ | 328 "url_loader_factory_impl\.(cc|h)": [ |
| 319 "-content", | 329 "-content", |
| 320 "+content/browser/loader/resource_dispatcher_host_impl.h", | 330 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 321 "+content/browser/loader/resource_message_filter.h", | 331 "+content/browser/loader/resource_requester_info.h", |
| 322 "+content/browser/loader/url_loader_factory_impl.h", | 332 "+content/browser/loader/url_loader_factory_impl.h", |
| 323 "+content/common/content_export.h", | 333 "+content/common/content_export.h", |
| 324 "+content/common/resource_request.h", | 334 "+content/common/resource_request.h", |
| 325 "+content/common/url_loader.mojom.h", | 335 "+content/common/url_loader.mojom.h", |
| 326 "+content/common/url_loader_factory.mojom.h", | 336 "+content/common/url_loader_factory.mojom.h", |
| 327 "+content/public/browser/browser_thread.h", | 337 "+content/public/browser/browser_thread.h", |
| 328 ], | 338 ], |
| 329 "url_loader_factory_impl_unittest\.cc": [ | 339 "url_loader_factory_impl_unittest\.cc": [ |
| 330 "-content", | 340 "-content", |
| 331 "+content/browser/loader/mojo_async_resource_handler.h", | 341 "+content/browser/loader/mojo_async_resource_handler.h", |
| 332 "+content/browser/loader/test_url_loader_client.h", | 342 "+content/browser/loader/test_url_loader_client.h", |
| 333 "+content/browser/loader/resource_dispatcher_host_impl.h", | 343 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 334 "+content/browser/loader/resource_message_filter.h", | 344 "+content/browser/loader/resource_message_filter.h", |
| 335 "+content/browser/loader/resource_request_info_impl.h", | 345 "+content/browser/loader/resource_request_info_impl.h", |
| 336 "+content/browser/loader/url_loader_factory_impl.h", | 346 "+content/browser/loader/url_loader_factory_impl.h", |
| 337 "+content/browser/loader_delegate_impl.h", | 347 "+content/browser/loader_delegate_impl.h", |
| 338 "+content/common/resource_request.h", | 348 "+content/common/resource_request.h", |
| 339 "+content/common/resource_request_completion_status.h", | 349 "+content/common/resource_request_completion_status.h", |
| 340 "+content/common/url_loader.mojom.h", | 350 "+content/common/url_loader.mojom.h", |
| 341 "+content/common/url_loader_factory.mojom.h", | 351 "+content/common/url_loader_factory.mojom.h", |
| 342 "+content/public/browser/resource_context.h", | 352 "+content/public/browser/resource_context.h", |
| 343 "+content/public/browser/resource_dispatcher_host_delegate.h", | 353 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 344 "+content/public/common/content_paths.h", | 354 "+content/public/common/content_paths.h", |
| 345 "+content/public/common/process_type.h", | |
| 346 "+content/public/test/test_browser_context.h", | 355 "+content/public/test/test_browser_context.h", |
| 347 "+content/public/test/test_browser_thread_bundle.h", | 356 "+content/public/test/test_browser_thread_bundle.h", |
| 348 | 357 |
| 349 #TODO: To be removed when PlzNavigate lands. | 358 #TODO: To be removed when PlzNavigate lands. |
| 350 "+content/browser/loader/navigation_resource_throttle.h" | 359 "+content/browser/loader/navigation_resource_throttle.h" |
| 351 ], | 360 ], |
| 352 } | 361 } |
| OLD | NEW |