| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 "+content/browser/loader/resource_dispatcher_host_impl.h", | 111 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 112 "+content/browser/loader/resource_request_info_impl.h", | 112 "+content/browser/loader/resource_request_info_impl.h", |
| 113 "+content/common/resource_request.h", | 113 "+content/common/resource_request.h", |
| 114 "+content/common/resource_request_completion_status.h", | 114 "+content/common/resource_request_completion_status.h", |
| 115 "+content/common/url_loader.mojom.h", | 115 "+content/common/url_loader.mojom.h", |
| 116 "+content/public/browser/appcache_service.h", | 116 "+content/public/browser/appcache_service.h", |
| 117 "+content/public/browser/resource_context.h", | 117 "+content/public/browser/resource_context.h", |
| 118 "+content/public/browser/resource_dispatcher_host_delegate.h", | 118 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 119 "+content/public/browser/resource_throttle.h", | 119 "+content/public/browser/resource_throttle.h", |
| 120 "+content/public/browser/stream_info.h", | 120 "+content/public/browser/stream_info.h", |
| 121 "+content/public/common/previews_state.h", |
| 121 "+content/public/common/resource_response.h", | 122 "+content/public/common/resource_response.h", |
| 122 "+content/public/common/resource_type.h", | 123 "+content/public/common/resource_type.h", |
| 123 "+content/public/test/test_browser_context.h", | 124 "+content/public/test/test_browser_context.h", |
| 124 "+content/public/test/test_browser_thread_bundle.h", | 125 "+content/public/test/test_browser_thread_bundle.h", |
| 125 ], | 126 ], |
| 126 "netlog_observer\.(cc|h)": [ | 127 "netlog_observer\.(cc|h)": [ |
| 127 "-content", | 128 "-content", |
| 128 "+content/browser/loader/netlog_observer.h", | 129 "+content/browser/loader/netlog_observer.h", |
| 129 "+content/browser/loader/resource_request_info_impl.h", | 130 "+content/browser/loader/resource_request_info_impl.h", |
| 130 "+content/public/common/resource_response.h", | 131 "+content/public/common/resource_response.h", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 157 "+content/browser/loader/sync_resource_handler.h", | 158 "+content/browser/loader/sync_resource_handler.h", |
| 158 "+content/browser/loader/throttling_resource_handler.h", | 159 "+content/browser/loader/throttling_resource_handler.h", |
| 159 "+content/common/resource_request_body.h", | 160 "+content/common/resource_request_body.h", |
| 160 "+content/common/resource_request_body_impl.h", | 161 "+content/common/resource_request_body_impl.h", |
| 161 "+content/common/url_loader.mojom.h", | 162 "+content/common/url_loader.mojom.h", |
| 162 "+content/public/browser/global_request_id.h", | 163 "+content/public/browser/global_request_id.h", |
| 163 "+content/public/browser/resource_dispatcher_host.h", | 164 "+content/public/browser/resource_dispatcher_host.h", |
| 164 "+content/public/browser/resource_dispatcher_host_delegate.h", | 165 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 165 "+content/public/browser/resource_request_info.h", | 166 "+content/public/browser/resource_request_info.h", |
| 166 "+content/public/browser/resource_throttle.h", | 167 "+content/public/browser/resource_throttle.h", |
| 168 "+content/public/common/previews_state.h", |
| 167 | 169 |
| 168 # TODO: These all have to be removed. | 170 # TODO: These all have to be removed. |
| 169 "+content/browser/appcache/appcache_interceptor.h", | 171 "+content/browser/appcache/appcache_interceptor.h", |
| 170 "+content/browser/appcache/appcache_navigation_handle_core.h", | 172 "+content/browser/appcache/appcache_navigation_handle_core.h", |
| 171 "+content/browser/appcache/chrome_appcache_service.h", | 173 "+content/browser/appcache/chrome_appcache_service.h", |
| 172 "+content/browser/bad_message.h", | 174 "+content/browser/bad_message.h", |
| 173 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 175 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
| 174 "+content/browser/child_process_security_policy_impl.h", | 176 "+content/browser/child_process_security_policy_impl.h", |
| 175 "+content/browser/download/save_types.h", | 177 "+content/browser/download/save_types.h", |
| 176 "+content/browser/frame_host/frame_tree.h", | 178 "+content/browser/frame_host/frame_tree.h", |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 "+content/browser/loader/resource_controller.h", | 231 "+content/browser/loader/resource_controller.h", |
| 230 "+content/browser/loader/resource_handler.h", | 232 "+content/browser/loader/resource_handler.h", |
| 231 "+content/browser/loader/resource_loader.h", | 233 "+content/browser/loader/resource_loader.h", |
| 232 "+content/browser/loader/resource_loader_delegate.h", | 234 "+content/browser/loader/resource_loader_delegate.h", |
| 233 "+content/browser/loader/resource_request_info_impl.h", | 235 "+content/browser/loader/resource_request_info_impl.h", |
| 234 "+content/browser/ssl/ssl_client_auth_handler.h", | 236 "+content/browser/ssl/ssl_client_auth_handler.h", |
| 235 "+content/browser/ssl/ssl_error_handler.h", | 237 "+content/browser/ssl/ssl_error_handler.h", |
| 236 "+content/common/content_export.h", | 238 "+content/common/content_export.h", |
| 237 "+content/public/browser/resource_dispatcher_host_login_delegate.h", | 239 "+content/public/browser/resource_dispatcher_host_login_delegate.h", |
| 238 "+content/public/common/browser_side_navigation_policy.h", | 240 "+content/public/common/browser_side_navigation_policy.h", |
| 241 "+content/public/common/previews_state.h", |
| 239 "+content/public/common/resource_response.h", | 242 "+content/public/common/resource_response.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/appcache/appcache_interceptor.h", | 246 "+content/browser/appcache/appcache_interceptor.h", |
| 244 "+content/browser/child_process_security_policy_impl.h", | 247 "+content/browser/child_process_security_policy_impl.h", |
| 245 "+content/browser/loader/cross_site_resource_handler.h", | 248 "+content/browser/loader/cross_site_resource_handler.h", |
| 246 "+content/browser/loader/detachable_resource_handler.h", | 249 "+content/browser/loader/detachable_resource_handler.h", |
| 247 "+content/browser/service_worker/service_worker_request_handler.h", | 250 "+content/browser/service_worker/service_worker_request_handler.h", |
| 248 "+content/browser/service_worker/service_worker_response_info.h", | 251 "+content/browser/service_worker/service_worker_response_info.h", |
| 249 "+content/browser/ssl/ssl_manager.h", | 252 "+content/browser/ssl/ssl_manager.h", |
| 250 "+content/public/common/content_client.h", | 253 "+content/public/common/content_client.h", |
| 251 "+content/public/common/content_switches.h", | 254 "+content/public/common/content_switches.h", |
| 252 ], | 255 ], |
| 253 "resource_handler_delegate\.h": [ | 256 "resource_handler_delegate\.h": [ |
| 254 "-content", | 257 "-content", |
| 255 ], | 258 ], |
| 256 "resource_request_info_impl\.(cc|h)": [ | 259 "resource_request_info_impl\.(cc|h)": [ |
| 257 "-content", | 260 "-content", |
| 258 "+content/browser/loader/global_routing_id.h", | 261 "+content/browser/loader/global_routing_id.h", |
| 259 "+content/browser/loader/resource_handler.h", | 262 "+content/browser/loader/resource_handler.h", |
| 260 "+content/browser/loader/resource_message_filter.h", | 263 "+content/browser/loader/resource_message_filter.h", |
| 261 "+content/browser/loader/resource_request_info_impl.h", | 264 "+content/browser/loader/resource_request_info_impl.h", |
| 262 "+content/browser/loader/resource_requester_info.h", | 265 "+content/browser/loader/resource_requester_info.h", |
| 263 "+content/common/content_export.h", | 266 "+content/common/content_export.h", |
| 264 "+content/common/resource_request_body_impl.h", | 267 "+content/common/resource_request_body_impl.h", |
| 265 "+content/common/url_loader.mojom.h", | 268 "+content/common/url_loader.mojom.h", |
| 266 "+content/public/browser/global_request_id.h", | 269 "+content/public/browser/global_request_id.h", |
| 267 "+content/public/browser/resource_request_info.h", | 270 "+content/public/browser/resource_request_info.h", |
| 271 "+content/public/common/previews_state.h", |
| 268 "+content/public/common/referrer.h", | 272 "+content/public/common/referrer.h", |
| 269 "+content/public/common/resource_type.h", | 273 "+content/public/common/resource_type.h", |
| 270 | 274 |
| 271 # TODO: these all have to be removed. | 275 # TODO: these all have to be removed. |
| 272 "+content/browser/frame_host/frame_tree_node.h", | 276 "+content/browser/frame_host/frame_tree_node.h", |
| 273 "+content/browser/web_contents/web_contents_impl.h", | 277 "+content/browser/web_contents/web_contents_impl.h", |
| 274 "+content/common/net/url_request_service_worker_data.h", | 278 "+content/common/net/url_request_service_worker_data.h", |
| 275 "+content/common/net/url_request_user_data.h", | 279 "+content/common/net/url_request_user_data.h", |
| 276 "+content/public/browser/browser_thread.h", | 280 "+content/public/browser/browser_thread.h", |
| 277 "+content/public/browser/navigation_ui_data.h", | 281 "+content/public/browser/navigation_ui_data.h", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 "+content/public/browser/resource_context.h", | 373 "+content/public/browser/resource_context.h", |
| 370 "+content/public/browser/resource_dispatcher_host_delegate.h", | 374 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 371 "+content/public/common/content_paths.h", | 375 "+content/public/common/content_paths.h", |
| 372 "+content/public/test/test_browser_context.h", | 376 "+content/public/test/test_browser_context.h", |
| 373 "+content/public/test/test_browser_thread_bundle.h", | 377 "+content/public/test/test_browser_thread_bundle.h", |
| 374 | 378 |
| 375 #TODO: To be removed when PlzNavigate lands. | 379 #TODO: To be removed when PlzNavigate lands. |
| 376 "+content/browser/loader/navigation_resource_throttle.h" | 380 "+content/browser/loader/navigation_resource_throttle.h" |
| 377 ], | 381 ], |
| 378 } | 382 } |
| OLD | NEW |