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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 ], | 70 ], |
71 "global_routing_id\.h": [ | 71 "global_routing_id\.h": [ |
72 "-content", | 72 "-content", |
73 ], | 73 ], |
74 "layered_resource_handler\.(cc|h)": [ | 74 "layered_resource_handler\.(cc|h)": [ |
75 "-content", | 75 "-content", |
76 "+content/browser/loader/layered_resource_handler.h", | 76 "+content/browser/loader/layered_resource_handler.h", |
77 "+content/browser/loader/resource_handler.h", | 77 "+content/browser/loader/resource_handler.h", |
78 "+content/common/content_export.h", | 78 "+content/common/content_export.h", |
79 ], | 79 ], |
| 80 "mojo_async_resource_handler\.(cc|h)": [ |
| 81 "-content", |
| 82 "+content/browser/loader/async_resource_handler.h", |
| 83 "+content/browser/loader/mojo_async_resource_handler.h", |
| 84 "+content/browser/loader/test_url_loader_client.h", |
| 85 "+content/browser/loader/netlog_observer.h", |
| 86 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 87 "+content/browser/loader/resource_handler.h", |
| 88 "+content/browser/loader/resource_request_info_impl.h", |
| 89 "+content/common/content_export.h", |
| 90 "+content/common/resource_request_completion_status.h", |
| 91 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 92 "+content/public/common/resource_response.h", |
| 93 "+content/common/url_loader.mojom.h", |
| 94 ], |
| 95 "mojo_async_resource_handler_unittest\.cc": [ |
| 96 "-content", |
| 97 "+content/browser/loader/mojo_async_resource_handler.h", |
| 98 "+content/browser/loader/test_url_loader_client.h", |
| 99 "+content/public/browser/navigation_data.h", |
| 100 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 101 "+content/browser/loader/resource_request_info_impl.h", |
| 102 "+content/common/resource_request.h", |
| 103 "+content/common/resource_request_completion_status.h", |
| 104 "+content/common/url_loader.mojom.h", |
| 105 "+content/public/browser/appcache_service.h", |
| 106 "+content/public/browser/resource_context.h", |
| 107 "+content/public/browser/resource_controller.h", |
| 108 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 109 "+content/public/browser/resource_throttle.h", |
| 110 "+content/public/browser/stream_info.h", |
| 111 "+content/public/common/resource_response.h", |
| 112 "+content/public/common/resource_type.h", |
| 113 "+content/public/test/test_browser_context.h", |
| 114 "+content/public/test/test_browser_thread_bundle.h", |
| 115 ], |
80 "netlog_observer\.(cc|h)": [ | 116 "netlog_observer\.(cc|h)": [ |
81 "-content", | 117 "-content", |
82 "+content/browser/loader/netlog_observer.h", | 118 "+content/browser/loader/netlog_observer.h", |
83 "+content/browser/loader/resource_request_info_impl.h", | 119 "+content/browser/loader/resource_request_info_impl.h", |
84 "+content/public/common/resource_response.h", | 120 "+content/public/common/resource_response.h", |
85 | 121 |
86 # TODO: These all have to be removed. | 122 # TODO: These all have to be removed. |
87 "+content/public/browser/browser_thread.h", # Only for DCHECK. | 123 "+content/public/browser/browser_thread.h", # Only for DCHECK. |
88 "+content/public/browser/content_browser_client.h", # To get NetLog. | 124 "+content/public/browser/content_browser_client.h", # To get NetLog. |
89 "+content/public/common/resource_devtools_info.h", | 125 "+content/public/common/resource_devtools_info.h", |
90 ], | 126 ], |
91 "power_save_block_resource_throttle\.(cc|h)": [ | 127 "power_save_block_resource_throttle\.(cc|h)": [ |
92 "-content", | 128 "-content", |
93 "+content/browser/loader/power_save_block_resource_throttle.h", | 129 "+content/browser/loader/power_save_block_resource_throttle.h", |
94 "+content/public/browser/resource_throttle.h", | 130 "+content/public/browser/resource_throttle.h", |
95 ], | 131 ], |
96 "resource_dispatcher_host_impl\.(cc|h)": [ | 132 "resource_dispatcher_host_impl\.(cc|h)": [ |
97 "-content", | 133 "-content", |
98 "+content/browser/cert_store_impl.h", | 134 "+content/browser/cert_store_impl.h", |
99 "+content/browser/loader/async_resource_handler.h", | 135 "+content/browser/loader/async_resource_handler.h", |
100 "+content/browser/loader/async_revalidation_manager.h", | 136 "+content/browser/loader/async_revalidation_manager.h", |
101 "+content/browser/loader/global_routing_id.h", | 137 "+content/browser/loader/global_routing_id.h", |
102 "+content/browser/loader/loader_delegate.h", | 138 "+content/browser/loader/loader_delegate.h", |
| 139 "+content/browser/loader/mojo_async_resource_handler.h", |
103 "+content/browser/loader/power_save_block_resource_throttle.h", | 140 "+content/browser/loader/power_save_block_resource_throttle.h", |
104 "+content/browser/loader/resource_dispatcher_host_impl.h", | 141 "+content/browser/loader/resource_dispatcher_host_impl.h", |
105 "+content/browser/loader/resource_loader.h", | 142 "+content/browser/loader/resource_loader.h", |
106 "+content/browser/loader/resource_loader_delegate.h", | 143 "+content/browser/loader/resource_loader_delegate.h", |
107 "+content/browser/loader/resource_message_filter.h", | 144 "+content/browser/loader/resource_message_filter.h", |
108 "+content/browser/loader/resource_request_info_impl.h", | 145 "+content/browser/loader/resource_request_info_impl.h", |
109 "+content/browser/loader/resource_scheduler.h", | 146 "+content/browser/loader/resource_scheduler.h", |
110 "+content/browser/loader/stream_resource_handler.h", | 147 "+content/browser/loader/stream_resource_handler.h", |
111 "+content/browser/loader/sync_resource_handler.h", | 148 "+content/browser/loader/sync_resource_handler.h", |
112 "+content/browser/loader/throttling_resource_handler.h", | 149 "+content/browser/loader/throttling_resource_handler.h", |
| 150 "+content/common/resource_request_body.h", |
113 "+content/common/resource_request_body_impl.h", | 151 "+content/common/resource_request_body_impl.h", |
114 "+content/common/ssl_status_serialization.h", | 152 "+content/common/ssl_status_serialization.h", |
| 153 "+content/common/url_loader.mojom.h", |
115 "+content/public/browser/global_request_id.h", | 154 "+content/public/browser/global_request_id.h", |
116 "+content/public/browser/resource_dispatcher_host.h", | 155 "+content/public/browser/resource_dispatcher_host.h", |
117 "+content/public/browser/resource_dispatcher_host_delegate.h", | 156 "+content/public/browser/resource_dispatcher_host_delegate.h", |
118 "+content/public/browser/resource_throttle.h", | 157 "+content/public/browser/resource_throttle.h", |
119 | 158 |
120 # TODO: These all have to be removed. | 159 # TODO: These all have to be removed. |
121 "+content/browser/appcache/appcache_interceptor.h", | 160 "+content/browser/appcache/appcache_interceptor.h", |
122 "+content/browser/appcache/chrome_appcache_service.h", | 161 "+content/browser/appcache/chrome_appcache_service.h", |
123 "+content/browser/bad_message.h", | 162 "+content/browser/bad_message.h", |
124 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 163 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 "+content/browser/loader/resource_request_info_impl.h", | 299 "+content/browser/loader/resource_request_info_impl.h", |
261 "+content/browser/loader/sync_resource_handler.h", | 300 "+content/browser/loader/sync_resource_handler.h", |
262 "+content/public/browser/resource_dispatcher_host_delegate.h", | 301 "+content/public/browser/resource_dispatcher_host_delegate.h", |
263 "+content/public/browser/resource_request_info.h", | 302 "+content/public/browser/resource_request_info.h", |
264 "+content/public/common/resource_response.h", | 303 "+content/public/common/resource_response.h", |
265 | 304 |
266 | 305 |
267 # TODO: To be replaced by mojo. | 306 # TODO: To be replaced by mojo. |
268 "+content/common/resource_messages.h", | 307 "+content/common/resource_messages.h", |
269 ], | 308 ], |
| 309 "test_url_loader_client\.(cc|h)": [ |
| 310 "-content", |
| 311 "+content/browser/loader/test_url_loader_client.h", |
| 312 "+content/common/resource_request_completion_status.h", |
| 313 "+content/common/url_loader.mojom.h", |
| 314 "+content/public/common/resource_response.h", |
| 315 ], |
| 316 "url_loader_factory_holder\.(cc|h)": [ |
| 317 "-content", |
| 318 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 319 "+content/browser/loader/resource_message_filter.h", |
| 320 "+content/browser/loader/url_loader_factory_holder.h", |
| 321 "+content/common/content_export.h", |
| 322 "+content/common/resource_request.h", |
| 323 "+content/common/url_loader.mojom.h", |
| 324 "+content/common/url_loader_factory.mojom.h", |
| 325 "+content/public/browser/browser_thread.h", |
| 326 ], |
| 327 "url_loader_factory_holder_unittest\.cc": [ |
| 328 "-content", |
| 329 "+content/browser/loader/mojo_async_resource_handler.h", |
| 330 "+content/browser/loader/test_url_loader_client.h", |
| 331 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 332 "+content/browser/loader/resource_message_filter.h", |
| 333 "+content/browser/loader/url_loader_factory_holder.h", |
| 334 "+content/browser/loader_delegate_impl.h", |
| 335 "+content/common/resource_request.h", |
| 336 "+content/common/resource_request_completion_status.h", |
| 337 "+content/common/url_loader.mojom.h", |
| 338 "+content/common/url_loader_factory.mojom.h", |
| 339 "+content/public/browser/resource_context.h", |
| 340 "+content/public/browser/resource_dispatcher_host_delegate.h", |
| 341 "+content/public/common/content_paths.h", |
| 342 "+content/public/test/test_browser_context.h", |
| 343 "+content/public/test/test_browser_thread_bundle.h", |
| 344 ], |
270 } | 345 } |
OLD | NEW |