| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 "power_save_block_resource_throttle\.(cc|h)": [ | 110 "power_save_block_resource_throttle\.(cc|h)": [ |
| 111 "-content", | 111 "-content", |
| 112 "+content/browser/loader/power_save_block_resource_throttle.h", | 112 "+content/browser/loader/power_save_block_resource_throttle.h", |
| 113 "+content/public/browser/resource_throttle.h", | 113 "+content/public/browser/resource_throttle.h", |
| 114 ], | 114 ], |
| 115 "resource_dispatcher_host_impl\.(cc|h)": [ | 115 "resource_dispatcher_host_impl\.(cc|h)": [ |
| 116 "-content", | 116 "-content", |
| 117 "+content/browser/loader/async_resource_handler.h", | 117 "+content/browser/loader/async_resource_handler.h", |
| 118 "+content/browser/loader/global_routing_id.h", | 118 "+content/browser/loader/global_routing_id.h", |
| 119 "+content/browser/loader/loader_delegate.h", | 119 "+content/browser/loader/loader_delegate.h", |
| 120 "+content/browser/loader/loader_globals.h", |
| 120 "+content/browser/loader/mojo_async_resource_handler.h", | 121 "+content/browser/loader/mojo_async_resource_handler.h", |
| 121 "+content/browser/loader/null_resource_controller.h", | 122 "+content/browser/loader/null_resource_controller.h", |
| 122 "+content/browser/loader/power_save_block_resource_throttle.h", | 123 "+content/browser/loader/power_save_block_resource_throttle.h", |
| 123 "+content/browser/loader/resource_dispatcher_host_impl.h", | 124 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 124 "+content/browser/loader/resource_loader.h", | 125 "+content/browser/loader/resource_loader.h", |
| 125 "+content/browser/loader/resource_loader_delegate.h", | 126 "+content/browser/loader/resource_loader_delegate.h", |
| 126 "+content/browser/loader/resource_message_filter.h", | 127 "+content/browser/loader/resource_message_filter.h", |
| 127 "+content/browser/loader/resource_request_info_impl.h", | 128 "+content/browser/loader/resource_request_info_impl.h", |
| 128 "+content/browser/loader/resource_requester_info.h", | 129 "+content/browser/loader/resource_requester_info.h", |
| 129 "+content/browser/loader/resource_scheduler.h", | 130 "+content/browser/loader/resource_scheduler.h", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 ], | 189 ], |
| 189 "resource_handler\.(cc|h)": [ | 190 "resource_handler\.(cc|h)": [ |
| 190 "-content", | 191 "-content", |
| 191 "+content/browser/loader/resource_controller.h", | 192 "+content/browser/loader/resource_controller.h", |
| 192 "+content/browser/loader/resource_handler.h", | 193 "+content/browser/loader/resource_handler.h", |
| 193 "+content/browser/loader/resource_request_info_impl.h", | 194 "+content/browser/loader/resource_request_info_impl.h", |
| 194 "+content/common/content_export.h", | 195 "+content/common/content_export.h", |
| 195 ], | 196 ], |
| 196 "resource_loader\.(cc|h)": [ | 197 "resource_loader\.(cc|h)": [ |
| 197 "-content", | 198 "-content", |
| 199 "+content/browser/loader/loader_globals.h", |
| 198 "+content/browser/loader/resource_controller.h", | 200 "+content/browser/loader/resource_controller.h", |
| 199 "+content/browser/loader/resource_handler.h", | 201 "+content/browser/loader/resource_handler.h", |
| 200 "+content/browser/loader/resource_loader.h", | 202 "+content/browser/loader/resource_loader.h", |
| 201 "+content/browser/loader/resource_loader_delegate.h", | 203 "+content/browser/loader/resource_loader_delegate.h", |
| 202 "+content/browser/loader/resource_request_info_impl.h", | 204 "+content/browser/loader/resource_request_info_impl.h", |
| 203 "+content/browser/ssl/ssl_client_auth_handler.h", | 205 "+content/browser/ssl/ssl_client_auth_handler.h", |
| 204 "+content/browser/ssl/ssl_error_handler.h", | 206 "+content/browser/ssl/ssl_error_handler.h", |
| 205 "+content/common/content_export.h", | 207 "+content/common/content_export.h", |
| 206 "+content/public/browser/resource_dispatcher_host_login_delegate.h", | 208 "+content/public/browser/resource_dispatcher_host_login_delegate.h", |
| 207 "+content/public/common/browser_side_navigation_policy.h", | 209 "+content/public/common/browser_side_navigation_policy.h", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 219 "+content/browser/ssl/ssl_manager.h", | 221 "+content/browser/ssl/ssl_manager.h", |
| 220 "+content/public/common/content_client.h", | 222 "+content/public/common/content_client.h", |
| 221 "+content/public/common/content_switches.h", | 223 "+content/public/common/content_switches.h", |
| 222 ], | 224 ], |
| 223 "resource_handler_delegate\.h": [ | 225 "resource_handler_delegate\.h": [ |
| 224 "-content", | 226 "-content", |
| 225 ], | 227 ], |
| 226 "resource_request_info_impl\.(cc|h)": [ | 228 "resource_request_info_impl\.(cc|h)": [ |
| 227 "-content", | 229 "-content", |
| 228 "+content/browser/loader/global_routing_id.h", | 230 "+content/browser/loader/global_routing_id.h", |
| 231 "+content/browser/loader/loader_globals.h", |
| 229 "+content/browser/loader/resource_handler.h", | 232 "+content/browser/loader/resource_handler.h", |
| 230 "+content/browser/loader/resource_message_filter.h", | 233 "+content/browser/loader/resource_message_filter.h", |
| 231 "+content/browser/loader/resource_request_info_impl.h", | 234 "+content/browser/loader/resource_request_info_impl.h", |
| 232 "+content/browser/loader/resource_requester_info.h", | 235 "+content/browser/loader/resource_requester_info.h", |
| 233 "+content/common/content_export.h", | 236 "+content/common/content_export.h", |
| 234 "+content/common/resource_request_body_impl.h", | 237 "+content/common/resource_request_body_impl.h", |
| 235 "+content/common/url_loader.mojom.h", | 238 "+content/common/url_loader.mojom.h", |
| 236 "+content/public/browser/global_request_id.h", | 239 "+content/public/browser/global_request_id.h", |
| 237 "+content/public/browser/resource_request_info.h", | 240 "+content/public/browser/resource_request_info.h", |
| 238 "+content/public/common/previews_state.h", | 241 "+content/public/common/previews_state.h", |
| 239 "+content/public/common/referrer.h", | 242 "+content/public/common/referrer.h", |
| 240 "+content/public/common/resource_type.h", | 243 "+content/public/common/resource_type.h", |
| 241 | 244 |
| 242 # TODO: these all have to be removed. | 245 # TODO: these all have to be removed. |
| 243 "+content/browser/frame_host/frame_tree_node.h", | 246 "+content/browser/frame_host/frame_tree_node.h", |
| 244 "+content/browser/web_contents/web_contents_impl.h", | 247 "+content/browser/web_contents/web_contents_impl.h", |
| 245 "+content/common/net/url_request_service_worker_data.h", | 248 "+content/common/net/url_request_service_worker_data.h", |
| 246 "+content/common/net/url_request_user_data.h", | 249 "+content/common/net/url_request_user_data.h", |
| 247 "+content/public/browser/browser_thread.h", | 250 "+content/public/browser/browser_thread.h", |
| 248 "+content/public/browser/navigation_ui_data.h", | 251 "+content/public/browser/navigation_ui_data.h", |
| 249 "+content/public/common/browser_side_navigation_policy.h", | 252 "+content/public/common/browser_side_navigation_policy.h", |
| 250 "+content/public/common/process_type.h", | 253 "+content/public/common/process_type.h", |
| 251 ], | 254 ], |
| 252 "resource_requester_info\.(cc|h)": [ | 255 "resource_requester_info\.(cc|h)": [ |
| 253 "-content", | 256 "-content", |
| 257 "+content/browser/loader/loader_globals.h", |
| 254 "+content/browser/loader/resource_controller.h", | 258 "+content/browser/loader/resource_controller.h", |
| 255 "+content/browser/loader/resource_requester_info.h", | 259 "+content/browser/loader/resource_requester_info.h", |
| 256 "+content/common/content_export.h", | 260 "+content/common/content_export.h", |
| 257 "+content/public/browser/resource_context.h", | 261 "+content/public/browser/resource_context.h", |
| 258 "+content/public/common/resource_type.h", | 262 "+content/public/common/resource_type.h", |
| 259 | 263 |
| 260 # TODO: these all have to be removed. | 264 # TODO: these all have to be removed. |
| 261 "+content/browser/appcache/chrome_appcache_service.h", | 265 "+content/browser/appcache/chrome_appcache_service.h", |
| 262 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 266 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
| 263 "+content/browser/service_worker/service_worker_context_wrapper.h", | 267 "+content/browser/service_worker/service_worker_context_wrapper.h", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 "+content/common/url_loader_factory.mojom.h", | 314 "+content/common/url_loader_factory.mojom.h", |
| 311 "+content/public/common/resource_response.h", | 315 "+content/public/common/resource_response.h", |
| 312 ], | 316 ], |
| 313 "upload_progress_tracker\.(cc|h)": [ | 317 "upload_progress_tracker\.(cc|h)": [ |
| 314 "-content", | 318 "-content", |
| 315 "+content/browser/loader/upload_progress_tracker.h", | 319 "+content/browser/loader/upload_progress_tracker.h", |
| 316 "+content/common/content_export.h", | 320 "+content/common/content_export.h", |
| 317 ], | 321 ], |
| 318 "url_loader_factory_impl\.(cc|h)": [ | 322 "url_loader_factory_impl\.(cc|h)": [ |
| 319 "-content", | 323 "-content", |
| 324 "+content/browser/loader/loader_globals.h", |
| 320 "+content/browser/loader/resource_dispatcher_host_impl.h", | 325 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 321 "+content/browser/loader/resource_requester_info.h", | 326 "+content/browser/loader/resource_requester_info.h", |
| 322 "+content/browser/loader/url_loader_factory_impl.h", | 327 "+content/browser/loader/url_loader_factory_impl.h", |
| 323 "+content/common/content_export.h", | 328 "+content/common/content_export.h", |
| 324 "+content/common/resource_request.h", | 329 "+content/common/resource_request.h", |
| 325 "+content/common/url_loader.mojom.h", | 330 "+content/common/url_loader.mojom.h", |
| 326 "+content/common/url_loader_factory.mojom.h", | 331 "+content/common/url_loader_factory.mojom.h", |
| 327 "+content/public/browser/browser_thread.h", | |
| 328 ], | 332 ], |
| 329 "url_loader_factory_impl_unittest\.cc": [ | 333 "url_loader_factory_impl_unittest\.cc": [ |
| 330 "-content", | 334 "-content", |
| 331 "+content/browser/child_process_security_policy_impl.h", | 335 "+content/browser/child_process_security_policy_impl.h", |
| 332 "+content/browser/loader/mojo_async_resource_handler.h", | 336 "+content/browser/loader/mojo_async_resource_handler.h", |
| 333 "+content/browser/loader/test_url_loader_client.h", | 337 "+content/browser/loader/test_url_loader_client.h", |
| 334 "+content/browser/loader/resource_dispatcher_host_impl.h", | 338 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 335 "+content/browser/loader/resource_message_filter.h", | 339 "+content/browser/loader/resource_message_filter.h", |
| 336 "+content/browser/loader/resource_request_info_impl.h", | 340 "+content/browser/loader/resource_request_info_impl.h", |
| 337 "+content/browser/loader/url_loader_factory_impl.h", | 341 "+content/browser/loader/url_loader_factory_impl.h", |
| 338 "+content/browser/loader_delegate_impl.h", | 342 "+content/browser/loader_delegate_impl.h", |
| 339 "+content/common/resource_request.h", | 343 "+content/common/resource_request.h", |
| 340 "+content/common/resource_request_completion_status.h", | 344 "+content/common/resource_request_completion_status.h", |
| 341 "+content/common/url_loader.mojom.h", | 345 "+content/common/url_loader.mojom.h", |
| 342 "+content/common/url_loader_factory.mojom.h", | 346 "+content/common/url_loader_factory.mojom.h", |
| 343 "+content/public/browser/resource_context.h", | 347 "+content/public/browser/resource_context.h", |
| 344 "+content/public/browser/resource_dispatcher_host_delegate.h", | 348 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 345 "+content/public/common/content_paths.h", | 349 "+content/public/common/content_paths.h", |
| 346 "+content/public/test/test_browser_context.h", | 350 "+content/public/test/test_browser_context.h", |
| 347 "+content/public/test/test_browser_thread_bundle.h", | 351 "+content/public/test/test_browser_thread_bundle.h", |
| 348 | 352 |
| 349 #TODO: To be removed when PlzNavigate lands. | 353 #TODO: To be removed when PlzNavigate lands. |
| 350 "+content/browser/loader/navigation_resource_throttle.h" | 354 "+content/browser/loader/navigation_resource_throttle.h" |
| 351 ], | 355 ], |
| 352 } | 356 } |
| OLD | NEW |