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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 "-content", | 74 "-content", |
75 "+content/browser/loader/resource_buffer.h", | 75 "+content/browser/loader/resource_buffer.h", |
76 "+content/common/content_export.h", | 76 "+content/common/content_export.h", |
77 ], | 77 ], |
78 "global_routing_id\.h": [ | 78 "global_routing_id\.h": [ |
79 "-content", | 79 "-content", |
80 ], | 80 ], |
81 "layered_resource_handler\.(cc|h)": [ | 81 "layered_resource_handler\.(cc|h)": [ |
82 "-content", | 82 "-content", |
83 "+content/browser/loader/layered_resource_handler.h", | 83 "+content/browser/loader/layered_resource_handler.h", |
84 "+content/browser/loader/resource_controller.h", | |
84 "+content/browser/loader/resource_handler.h", | 85 "+content/browser/loader/resource_handler.h", |
85 "+content/common/content_export.h", | 86 "+content/common/content_export.h", |
86 ], | 87 ], |
87 "mojo_async_resource_handler\.(cc|h)": [ | 88 "mojo_async_resource_handler\.(cc|h)": [ |
88 "-content", | 89 "-content", |
89 "+content/browser/loader/async_resource_handler.h", | 90 "+content/browser/loader/async_resource_handler.h", |
90 "+content/browser/loader/downloaded_temp_file_impl.h", | 91 "+content/browser/loader/downloaded_temp_file_impl.h", |
91 "+content/browser/loader/mojo_async_resource_handler.h", | 92 "+content/browser/loader/mojo_async_resource_handler.h", |
92 "+content/browser/loader/netlog_observer.h", | 93 "+content/browser/loader/netlog_observer.h", |
93 "+content/browser/loader/resource_controller.h", | 94 "+content/browser/loader/resource_controller.h", |
(...skipping 10 matching lines...) Expand all Loading... | |
104 "+content/public/common/resource_type.h", | 105 "+content/public/common/resource_type.h", |
105 ], | 106 ], |
106 "mojo_async_resource_handler_unittest\.cc": [ | 107 "mojo_async_resource_handler_unittest\.cc": [ |
107 "-content", | 108 "-content", |
108 "+content/browser/loader/mock_resource_loader.h", | 109 "+content/browser/loader/mock_resource_loader.h", |
109 "+content/browser/loader/mojo_async_resource_handler.h", | 110 "+content/browser/loader/mojo_async_resource_handler.h", |
110 "+content/browser/loader/test_url_loader_client.h", | 111 "+content/browser/loader/test_url_loader_client.h", |
111 "+content/browser/loader/resource_controller.h", | 112 "+content/browser/loader/resource_controller.h", |
112 "+content/browser/loader/resource_dispatcher_host_impl.h", | 113 "+content/browser/loader/resource_dispatcher_host_impl.h", |
113 "+content/browser/loader/resource_request_info_impl.h", | 114 "+content/browser/loader/resource_request_info_impl.h", |
115 "+content/browser/loader/test_resource_handler_wrapper.h", | |
114 "+content/common/resource_request.h", | 116 "+content/common/resource_request.h", |
115 "+content/common/resource_request_completion_status.h", | 117 "+content/common/resource_request_completion_status.h", |
116 "+content/common/url_loader.mojom.h", | 118 "+content/common/url_loader.mojom.h", |
117 "+content/public/browser/appcache_service.h", | 119 "+content/public/browser/appcache_service.h", |
118 "+content/public/browser/navigation_data.h", | 120 "+content/public/browser/navigation_data.h", |
119 "+content/public/browser/resource_context.h", | 121 "+content/public/browser/resource_context.h", |
120 "+content/public/browser/resource_dispatcher_host_delegate.h", | 122 "+content/public/browser/resource_dispatcher_host_delegate.h", |
121 "+content/public/browser/resource_throttle.h", | 123 "+content/public/browser/resource_throttle.h", |
122 "+content/public/browser/stream_info.h", | 124 "+content/public/browser/stream_info.h", |
123 "+content/public/common/previews_state.h", | 125 "+content/public/common/previews_state.h", |
(...skipping 17 matching lines...) Expand all Loading... | |
141 "+content/browser/loader/power_save_block_resource_throttle.h", | 143 "+content/browser/loader/power_save_block_resource_throttle.h", |
142 "+content/public/browser/resource_throttle.h", | 144 "+content/public/browser/resource_throttle.h", |
143 ], | 145 ], |
144 "resource_dispatcher_host_impl\.(cc|h)": [ | 146 "resource_dispatcher_host_impl\.(cc|h)": [ |
145 "-content", | 147 "-content", |
146 "+content/browser/loader/async_resource_handler.h", | 148 "+content/browser/loader/async_resource_handler.h", |
147 "+content/browser/loader/async_revalidation_manager.h", | 149 "+content/browser/loader/async_revalidation_manager.h", |
148 "+content/browser/loader/global_routing_id.h", | 150 "+content/browser/loader/global_routing_id.h", |
149 "+content/browser/loader/loader_delegate.h", | 151 "+content/browser/loader/loader_delegate.h", |
150 "+content/browser/loader/mojo_async_resource_handler.h", | 152 "+content/browser/loader/mojo_async_resource_handler.h", |
153 "+content/browser/loader/null_resource_controller.h", | |
151 "+content/browser/loader/power_save_block_resource_throttle.h", | 154 "+content/browser/loader/power_save_block_resource_throttle.h", |
152 "+content/browser/loader/resource_dispatcher_host_impl.h", | 155 "+content/browser/loader/resource_dispatcher_host_impl.h", |
153 "+content/browser/loader/resource_loader.h", | 156 "+content/browser/loader/resource_loader.h", |
154 "+content/browser/loader/resource_loader_delegate.h", | 157 "+content/browser/loader/resource_loader_delegate.h", |
155 "+content/browser/loader/resource_message_filter.h", | 158 "+content/browser/loader/resource_message_filter.h", |
156 "+content/browser/loader/resource_request_info_impl.h", | 159 "+content/browser/loader/resource_request_info_impl.h", |
157 "+content/browser/loader/resource_requester_info.h", | 160 "+content/browser/loader/resource_requester_info.h", |
158 "+content/browser/loader/resource_scheduler.h", | 161 "+content/browser/loader/resource_scheduler.h", |
159 "+content/browser/loader/stream_resource_handler.h", | 162 "+content/browser/loader/stream_resource_handler.h", |
160 "+content/browser/loader/sync_resource_handler.h", | 163 "+content/browser/loader/sync_resource_handler.h", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
217 "+content/public/common/resource_type.h", | 220 "+content/public/common/resource_type.h", |
218 | 221 |
219 # TODO: To be replaced by mojo. | 222 # TODO: To be replaced by mojo. |
220 "+content/common/resource_messages.h", | 223 "+content/common/resource_messages.h", |
221 "+content/common/resource_request.h", | 224 "+content/common/resource_request.h", |
222 "+content/common/resource_request_completion_status.h", | 225 "+content/common/resource_request_completion_status.h", |
223 "+content/common/view_messages.h", | 226 "+content/common/view_messages.h", |
224 ], | 227 ], |
225 "resource_handler\.(cc|h)": [ | 228 "resource_handler\.(cc|h)": [ |
226 "-content", | 229 "-content", |
230 "+content/browser/loader/resource_controller.h", | |
231 "+content/browser/loader/resource_dispatcher_host_impl.h", | |
Charlie Harrison
2017/01/25 20:22:59
How is this a DEP?
mmenke
2017/01/25 22:07:58
Done. (An earlier draft had OOB removal going thr
| |
227 "+content/browser/loader/resource_handler.h", | 232 "+content/browser/loader/resource_handler.h", |
228 "+content/browser/loader/resource_request_info_impl.h", | 233 "+content/browser/loader/resource_request_info_impl.h", |
229 "+content/common/content_export.h", | 234 "+content/common/content_export.h", |
230 ], | 235 ], |
231 "resource_loader\.(cc|h)": [ | 236 "resource_loader\.(cc|h)": [ |
232 "-content", | 237 "-content", |
233 "+content/browser/loader/resource_controller.h", | 238 "+content/browser/loader/resource_controller.h", |
234 "+content/browser/loader/resource_handler.h", | 239 "+content/browser/loader/resource_handler.h", |
235 "+content/browser/loader/resource_loader.h", | 240 "+content/browser/loader/resource_loader.h", |
236 "+content/browser/loader/resource_loader_delegate.h", | 241 "+content/browser/loader/resource_loader_delegate.h", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
279 "+content/browser/web_contents/web_contents_impl.h", | 284 "+content/browser/web_contents/web_contents_impl.h", |
280 "+content/common/net/url_request_service_worker_data.h", | 285 "+content/common/net/url_request_service_worker_data.h", |
281 "+content/common/net/url_request_user_data.h", | 286 "+content/common/net/url_request_user_data.h", |
282 "+content/public/browser/browser_thread.h", | 287 "+content/public/browser/browser_thread.h", |
283 "+content/public/browser/navigation_ui_data.h", | 288 "+content/public/browser/navigation_ui_data.h", |
284 "+content/public/common/browser_side_navigation_policy.h", | 289 "+content/public/common/browser_side_navigation_policy.h", |
285 "+content/public/common/process_type.h", | 290 "+content/public/common/process_type.h", |
286 ], | 291 ], |
287 "resource_requester_info\.(cc|h)": [ | 292 "resource_requester_info\.(cc|h)": [ |
288 "-content", | 293 "-content", |
294 "+content/browser/loader/resource_controller.h", | |
289 "+content/browser/loader/resource_requester_info.h", | 295 "+content/browser/loader/resource_requester_info.h", |
290 "+content/common/content_export.h", | 296 "+content/common/content_export.h", |
291 "+content/public/browser/resource_context.h", | 297 "+content/public/browser/resource_context.h", |
292 "+content/public/common/resource_type.h", | 298 "+content/public/common/resource_type.h", |
293 | 299 |
294 # TODO: these all have to be removed. | 300 # TODO: these all have to be removed. |
295 "+content/browser/appcache/chrome_appcache_service.h", | 301 "+content/browser/appcache/chrome_appcache_service.h", |
296 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 302 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
297 "+content/browser/service_worker/service_worker_context_wrapper.h", | 303 "+content/browser/service_worker/service_worker_context_wrapper.h", |
298 "+content/public/browser/browser_thread.h", | 304 "+content/public/browser/browser_thread.h", |
299 "+content/public/common/browser_side_navigation_policy.h", | 305 "+content/public/common/browser_side_navigation_policy.h", |
300 ], | 306 ], |
301 "resource_scheduler\.(cc|h)": [ | 307 "resource_scheduler\.(cc|h)": [ |
302 "-content", | 308 "-content", |
309 "+content/browser/loader/resource_controller.h", | |
303 "+content/browser/loader/resource_scheduler.h", | 310 "+content/browser/loader/resource_scheduler.h", |
304 "+content/common/content_export.h", | 311 "+content/common/content_export.h", |
305 "+content/public/browser/resource_controller.h", | |
306 "+content/public/browser/resource_request_info.h", | 312 "+content/public/browser/resource_request_info.h", |
307 "+content/public/browser/resource_throttle.h", | 313 "+content/public/browser/resource_throttle.h", |
308 | 314 |
309 # TODO: To be replaced by mojo. | 315 # TODO: To be replaced by mojo. |
310 "+content/common/resource_messages.h", | 316 "+content/common/resource_messages.h", |
311 ], | 317 ], |
312 "resource_scheduler_filter\.(cc|h)": [ | 318 "resource_scheduler_filter\.(cc|h)": [ |
313 "-content", | 319 "-content", |
314 "+content/browser/loader/resource_dispatcher_host_impl.h", | 320 "+content/browser/loader/resource_dispatcher_host_impl.h", |
315 "+content/browser/loader/resource_scheduler.h", | 321 "+content/browser/loader/resource_scheduler.h", |
316 "+content/browser/loader/resource_scheduler_filter.h", | 322 "+content/browser/loader/resource_scheduler_filter.h", |
317 | 323 |
318 # TODO: To be replaced by mojo. | 324 # TODO: To be replaced by mojo. |
319 "+content/common/frame_messages.h", | 325 "+content/common/frame_messages.h", |
320 "+content/common/view_messages.h", | 326 "+content/common/view_messages.h", |
321 "+content/public/browser/browser_message_filter.h", | 327 "+content/public/browser/browser_message_filter.h", |
322 ], | 328 ], |
323 "sync_resource_handler\.(cc|h)": [ | 329 "sync_resource_handler\.(cc|h)": [ |
324 "-content", | 330 "-content", |
325 "+content/browser/loader/netlog_observer.h", | 331 "+content/browser/loader/netlog_observer.h", |
332 "+content/browser/loader/resource_controller.h", | |
326 "+content/browser/loader/resource_dispatcher_host_impl.h", | 333 "+content/browser/loader/resource_dispatcher_host_impl.h", |
327 "+content/browser/loader/resource_handler.h", | 334 "+content/browser/loader/resource_handler.h", |
328 "+content/browser/loader/resource_request_info_impl.h", | 335 "+content/browser/loader/resource_request_info_impl.h", |
329 "+content/browser/loader/sync_resource_handler.h", | 336 "+content/browser/loader/sync_resource_handler.h", |
330 "+content/public/browser/resource_dispatcher_host_delegate.h", | 337 "+content/public/browser/resource_dispatcher_host_delegate.h", |
331 "+content/public/browser/resource_request_info.h", | 338 "+content/public/browser/resource_request_info.h", |
332 "+content/public/common/resource_response.h", | 339 "+content/public/common/resource_response.h", |
333 | 340 |
334 | 341 |
335 # TODO: To be replaced by mojo. | 342 # TODO: To be replaced by mojo. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
376 "+content/public/browser/resource_context.h", | 383 "+content/public/browser/resource_context.h", |
377 "+content/public/browser/resource_dispatcher_host_delegate.h", | 384 "+content/public/browser/resource_dispatcher_host_delegate.h", |
378 "+content/public/common/content_paths.h", | 385 "+content/public/common/content_paths.h", |
379 "+content/public/test/test_browser_context.h", | 386 "+content/public/test/test_browser_context.h", |
380 "+content/public/test/test_browser_thread_bundle.h", | 387 "+content/public/test/test_browser_thread_bundle.h", |
381 | 388 |
382 #TODO: To be removed when PlzNavigate lands. | 389 #TODO: To be removed when PlzNavigate lands. |
383 "+content/browser/loader/navigation_resource_throttle.h" | 390 "+content/browser/loader/navigation_resource_throttle.h" |
384 ], | 391 ], |
385 } | 392 } |
OLD | NEW |