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 11 matching lines...) Expand all Loading... |
22 "+content/browser/loader/resource_request_info_impl.h", | 22 "+content/browser/loader/resource_request_info_impl.h", |
23 "+content/browser/loader/upload_progress_tracker.h", | 23 "+content/browser/loader/upload_progress_tracker.h", |
24 "+content/common/content_export.h", | 24 "+content/common/content_export.h", |
25 "+content/public/common/resource_response.h", | 25 "+content/public/common/resource_response.h", |
26 | 26 |
27 # TODO: these all have to be removed. | 27 # TODO: these all have to be removed. |
28 "+content/public/common/content_features.h", | 28 "+content/public/common/content_features.h", |
29 | 29 |
30 # TODO: To be replaced by mojo. | 30 # TODO: To be replaced by mojo. |
31 "+content/common/resource_messages.h", | 31 "+content/common/resource_messages.h", |
32 "+content/common/resource_request_completion_status.h", | |
33 "+content/common/view_messages.h", | 32 "+content/common/view_messages.h", |
| 33 "+content/public/common/resource_request_completion_status.h", |
34 ], | 34 ], |
35 "downloaded_temp_file_impl\.(cc|h)": [ | 35 "downloaded_temp_file_impl\.(cc|h)": [ |
36 "-content", | 36 "-content", |
37 "+content/browser/loader/downloaded_temp_file_impl.h", | 37 "+content/browser/loader/downloaded_temp_file_impl.h", |
38 "+content/browser/loader/resource_dispatcher_host_impl.h", | 38 "+content/browser/loader/resource_dispatcher_host_impl.h", |
39 "+content/common/content_export.h", | 39 "+content/common/content_export.h", |
40 "+content/common/url_loader_factory.mojom.h" | 40 "+content/public/common/url_loader_factory.mojom.h" |
41 ], | 41 ], |
42 "resource_buffer.*\.(cc|h)": [ | 42 "resource_buffer.*\.(cc|h)": [ |
43 "-content", | 43 "-content", |
44 "+content/browser/loader/resource_buffer.h", | 44 "+content/browser/loader/resource_buffer.h", |
45 "+content/common/content_export.h", | 45 "+content/common/content_export.h", |
46 ], | 46 ], |
47 "global_routing_id\.h": [ | 47 "global_routing_id\.h": [ |
48 "-content", | 48 "-content", |
49 ], | 49 ], |
50 "layered_resource_handler\.(cc|h)": [ | 50 "layered_resource_handler\.(cc|h)": [ |
51 "-content", | 51 "-content", |
52 "+content/browser/loader/layered_resource_handler.h", | 52 "+content/browser/loader/layered_resource_handler.h", |
53 "+content/browser/loader/resource_controller.h", | 53 "+content/browser/loader/resource_controller.h", |
54 "+content/browser/loader/resource_handler.h", | 54 "+content/browser/loader/resource_handler.h", |
55 "+content/common/content_export.h", | 55 "+content/common/content_export.h", |
56 ], | 56 ], |
57 "mojo_async_resource_handler\.(cc|h)": [ | 57 "mojo_async_resource_handler\.(cc|h)": [ |
58 "-content", | 58 "-content", |
59 "+content/browser/loader/async_resource_handler.h", | 59 "+content/browser/loader/async_resource_handler.h", |
60 "+content/browser/loader/downloaded_temp_file_impl.h", | 60 "+content/browser/loader/downloaded_temp_file_impl.h", |
61 "+content/browser/loader/mojo_async_resource_handler.h", | 61 "+content/browser/loader/mojo_async_resource_handler.h", |
62 "+content/browser/loader/netlog_observer.h", | 62 "+content/browser/loader/netlog_observer.h", |
63 "+content/browser/loader/resource_controller.h", | 63 "+content/browser/loader/resource_controller.h", |
64 "+content/browser/loader/resource_dispatcher_host_impl.h", | 64 "+content/browser/loader/resource_dispatcher_host_impl.h", |
65 "+content/browser/loader/resource_handler.h", | 65 "+content/browser/loader/resource_handler.h", |
66 "+content/browser/loader/resource_request_info_impl.h", | 66 "+content/browser/loader/resource_request_info_impl.h", |
67 "+content/browser/loader/resource_scheduler.h", | 67 "+content/browser/loader/resource_scheduler.h", |
68 "+content/browser/loader/upload_progress_tracker.h", | 68 "+content/browser/loader/upload_progress_tracker.h", |
69 "+content/common/content_export.h", | 69 "+content/common/content_export.h", |
70 "+content/common/resource_request_completion_status.h", | |
71 "+content/common/url_loader.mojom.h", | |
72 "+content/public/browser/global_request_id.h", | 70 "+content/public/browser/global_request_id.h", |
| 71 "+content/public/common/resource_request_completion_status.h", |
73 "+content/public/common/resource_response.h", | 72 "+content/public/common/resource_response.h", |
74 "+content/public/common/resource_type.h", | 73 "+content/public/common/resource_type.h", |
| 74 "+content/public/common/url_loader.mojom.h", |
75 ], | 75 ], |
76 "mojo_async_resource_handler_unittest\.cc": [ | 76 "mojo_async_resource_handler_unittest\.cc": [ |
77 "-content", | 77 "-content", |
78 "+content/browser/loader/mock_resource_loader.h", | 78 "+content/browser/loader/mock_resource_loader.h", |
79 "+content/browser/loader/mojo_async_resource_handler.h", | 79 "+content/browser/loader/mojo_async_resource_handler.h", |
80 "+content/browser/loader/test_url_loader_client.h", | 80 "+content/browser/loader/test_url_loader_client.h", |
81 "+content/browser/loader/resource_controller.h", | 81 "+content/browser/loader/resource_controller.h", |
82 "+content/browser/loader/resource_dispatcher_host_impl.h", | 82 "+content/browser/loader/resource_dispatcher_host_impl.h", |
83 "+content/browser/loader/resource_request_info_impl.h", | 83 "+content/browser/loader/resource_request_info_impl.h", |
84 "+content/browser/loader/resource_scheduler.h", | 84 "+content/browser/loader/resource_scheduler.h", |
85 "+content/common/resource_request_completion_status.h", | |
86 "+content/common/url_loader.mojom.h", | |
87 "+content/common/url_loader_factory.mojom.h", | |
88 "+content/public/browser/appcache_service.h", | 85 "+content/public/browser/appcache_service.h", |
89 "+content/public/browser/navigation_data.h", | 86 "+content/public/browser/navigation_data.h", |
90 "+content/public/browser/resource_context.h", | 87 "+content/public/browser/resource_context.h", |
91 "+content/public/browser/resource_dispatcher_host_delegate.h", | 88 "+content/public/browser/resource_dispatcher_host_delegate.h", |
92 "+content/public/browser/resource_throttle.h", | 89 "+content/public/browser/resource_throttle.h", |
93 "+content/public/browser/stream_info.h", | 90 "+content/public/browser/stream_info.h", |
94 "+content/public/common/previews_state.h", | 91 "+content/public/common/previews_state.h", |
95 "+content/public/common/resource_request.h", | 92 "+content/public/common/resource_request.h", |
| 93 "+content/public/common/resource_request_completion_status.h", |
96 "+content/public/common/resource_response.h", | 94 "+content/public/common/resource_response.h", |
97 "+content/public/common/resource_type.h", | 95 "+content/public/common/resource_type.h", |
| 96 "+content/public/common/url_loader.mojom.h", |
| 97 "+content/public/common/url_loader_factory.mojom.h", |
98 "+content/public/test/test_browser_context.h", | 98 "+content/public/test/test_browser_context.h", |
99 "+content/public/test/test_browser_thread_bundle.h", | 99 "+content/public/test/test_browser_thread_bundle.h", |
100 ], | 100 ], |
101 "netlog_observer\.(cc|h)": [ | 101 "netlog_observer\.(cc|h)": [ |
102 "-content", | 102 "-content", |
103 "+content/browser/loader/netlog_observer.h", | 103 "+content/browser/loader/netlog_observer.h", |
104 "+content/browser/loader/resource_request_info_impl.h", | 104 "+content/browser/loader/resource_request_info_impl.h", |
105 "+content/public/common/resource_response.h", | 105 "+content/public/common/resource_response.h", |
106 | 106 |
107 # TODO: These all have to be removed. | 107 # TODO: These all have to be removed. |
(...skipping 12 matching lines...) Expand all Loading... |
120 "+content/browser/loader/resource_loader_delegate.h", | 120 "+content/browser/loader/resource_loader_delegate.h", |
121 "+content/browser/loader/resource_message_filter.h", | 121 "+content/browser/loader/resource_message_filter.h", |
122 "+content/browser/loader/resource_request_info_impl.h", | 122 "+content/browser/loader/resource_request_info_impl.h", |
123 "+content/browser/loader/resource_requester_info.h", | 123 "+content/browser/loader/resource_requester_info.h", |
124 "+content/browser/loader/resource_scheduler.h", | 124 "+content/browser/loader/resource_scheduler.h", |
125 "+content/browser/loader/stream_resource_handler.h", | 125 "+content/browser/loader/stream_resource_handler.h", |
126 "+content/browser/loader/sync_resource_handler.h", | 126 "+content/browser/loader/sync_resource_handler.h", |
127 "+content/browser/loader/throttling_resource_handler.h", | 127 "+content/browser/loader/throttling_resource_handler.h", |
128 "+content/browser/loader/wake_lock_resource_throttle.h", | 128 "+content/browser/loader/wake_lock_resource_throttle.h", |
129 "+content/common/resource_request_body.h", | 129 "+content/common/resource_request_body.h", |
130 "+content/common/url_loader.mojom.h", | |
131 "+content/public/browser/global_request_id.h", | 130 "+content/public/browser/global_request_id.h", |
132 "+content/public/browser/resource_dispatcher_host.h", | 131 "+content/public/browser/resource_dispatcher_host.h", |
133 "+content/public/browser/resource_dispatcher_host_delegate.h", | 132 "+content/public/browser/resource_dispatcher_host_delegate.h", |
134 "+content/public/browser/resource_request_info.h", | 133 "+content/public/browser/resource_request_info.h", |
135 "+content/public/browser/resource_throttle.h", | 134 "+content/public/browser/resource_throttle.h", |
136 "+content/public/common/previews_state.h", | 135 "+content/public/common/previews_state.h", |
137 "+content/public/common/resource_request_body.h", | 136 "+content/public/common/resource_request_body.h", |
| 137 "+content/public/common/url_loader.mojom.h", |
138 | 138 |
139 # TODO: These all have to be removed. | 139 # TODO: These all have to be removed. |
140 "+content/browser/appcache/appcache_interceptor.h", | 140 "+content/browser/appcache/appcache_interceptor.h", |
141 "+content/browser/appcache/appcache_navigation_handle_core.h", | 141 "+content/browser/appcache/appcache_navigation_handle_core.h", |
142 "+content/browser/appcache/chrome_appcache_service.h", | 142 "+content/browser/appcache/chrome_appcache_service.h", |
143 "+content/browser/bad_message.h", | 143 "+content/browser/bad_message.h", |
144 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 144 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
145 "+content/browser/browsing_data/clear_site_data_throttle.h", | 145 "+content/browser/browsing_data/clear_site_data_throttle.h", |
146 "+content/browser/child_process_security_policy_impl.h", | 146 "+content/browser/child_process_security_policy_impl.h", |
147 "+content/browser/frame_host/navigation_request_info.h", | 147 "+content/browser/frame_host/navigation_request_info.h", |
(...skipping 25 matching lines...) Expand all Loading... |
173 "+content/public/browser/stream_handle.h", | 173 "+content/public/browser/stream_handle.h", |
174 "+content/public/browser/stream_info.h", | 174 "+content/public/browser/stream_info.h", |
175 "+content/public/common/browser_side_navigation_policy.h", | 175 "+content/public/common/browser_side_navigation_policy.h", |
176 "+content/public/common/content_features.h", | 176 "+content/public/common/content_features.h", |
177 "+content/public/common/content_switches.h", | 177 "+content/public/common/content_switches.h", |
178 "+content/public/common/request_context_type.h", | 178 "+content/public/common/request_context_type.h", |
179 "+content/public/common/resource_type.h", | 179 "+content/public/common/resource_type.h", |
180 | 180 |
181 # TODO: To be replaced by mojo. | 181 # TODO: To be replaced by mojo. |
182 "+content/common/resource_messages.h", | 182 "+content/common/resource_messages.h", |
183 "+content/common/resource_request_completion_status.h", | |
184 "+content/common/view_messages.h", | 183 "+content/common/view_messages.h", |
185 "+content/public/common/resource_request.h", | 184 "+content/public/common/resource_request.h", |
| 185 "+content/public/common/resource_request_completion_status.h", |
186 ], | 186 ], |
187 "resource_handler\.(cc|h)": [ | 187 "resource_handler\.(cc|h)": [ |
188 "-content", | 188 "-content", |
189 "+content/browser/loader/resource_controller.h", | 189 "+content/browser/loader/resource_controller.h", |
190 "+content/browser/loader/resource_handler.h", | 190 "+content/browser/loader/resource_handler.h", |
191 "+content/browser/loader/resource_request_info_impl.h", | 191 "+content/browser/loader/resource_request_info_impl.h", |
192 "+content/common/content_export.h", | 192 "+content/common/content_export.h", |
193 ], | 193 ], |
194 "resource_loader\.(cc|h)": [ | 194 "resource_loader\.(cc|h)": [ |
195 "-content", | 195 "-content", |
(...skipping 27 matching lines...) Expand all Loading... |
223 ], | 223 ], |
224 "resource_request_info_impl\.(cc|h)": [ | 224 "resource_request_info_impl\.(cc|h)": [ |
225 "-content", | 225 "-content", |
226 "+content/browser/blob_storage/chrome_blob_storage_context.h", | 226 "+content/browser/blob_storage/chrome_blob_storage_context.h", |
227 "+content/browser/loader/global_routing_id.h", | 227 "+content/browser/loader/global_routing_id.h", |
228 "+content/browser/loader/resource_handler.h", | 228 "+content/browser/loader/resource_handler.h", |
229 "+content/browser/loader/resource_message_filter.h", | 229 "+content/browser/loader/resource_message_filter.h", |
230 "+content/browser/loader/resource_request_info_impl.h", | 230 "+content/browser/loader/resource_request_info_impl.h", |
231 "+content/browser/loader/resource_requester_info.h", | 231 "+content/browser/loader/resource_requester_info.h", |
232 "+content/common/content_export.h", | 232 "+content/common/content_export.h", |
233 "+content/common/url_loader.mojom.h", | |
234 "+content/public/browser/global_request_id.h", | 233 "+content/public/browser/global_request_id.h", |
235 "+content/public/browser/resource_request_info.h", | 234 "+content/public/browser/resource_request_info.h", |
236 "+content/public/common/previews_state.h", | 235 "+content/public/common/previews_state.h", |
237 "+content/public/common/referrer.h", | 236 "+content/public/common/referrer.h", |
238 "+content/public/common/resource_request_body.h", | 237 "+content/public/common/resource_request_body.h", |
239 "+content/public/common/resource_type.h", | 238 "+content/public/common/resource_type.h", |
| 239 "+content/public/common/url_loader.mojom.h", |
240 | 240 |
241 # TODO: these all have to be removed. | 241 # TODO: these all have to be removed. |
242 "+content/browser/frame_host/frame_tree_node.h", | 242 "+content/browser/frame_host/frame_tree_node.h", |
243 "+content/browser/web_contents/web_contents_impl.h", | 243 "+content/browser/web_contents/web_contents_impl.h", |
244 "+content/common/net/url_request_service_worker_data.h", | 244 "+content/common/net/url_request_service_worker_data.h", |
245 "+content/common/net/url_request_user_data.h", | 245 "+content/common/net/url_request_user_data.h", |
246 "+content/public/browser/browser_thread.h", | 246 "+content/public/browser/browser_thread.h", |
247 "+content/public/browser/navigation_ui_data.h", | 247 "+content/public/browser/navigation_ui_data.h", |
248 "+content/public/common/browser_side_navigation_policy.h", | 248 "+content/public/common/browser_side_navigation_policy.h", |
249 "+content/public/common/process_type.h", | 249 "+content/public/common/process_type.h", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 "+content/public/browser/resource_request_info.h", | 297 "+content/public/browser/resource_request_info.h", |
298 "+content/public/common/resource_response.h", | 298 "+content/public/common/resource_response.h", |
299 | 299 |
300 | 300 |
301 # TODO: To be replaced by mojo. | 301 # TODO: To be replaced by mojo. |
302 "+content/common/resource_messages.h", | 302 "+content/common/resource_messages.h", |
303 ], | 303 ], |
304 "test_url_loader_client\.(cc|h)": [ | 304 "test_url_loader_client\.(cc|h)": [ |
305 "-content", | 305 "-content", |
306 "+content/browser/loader/test_url_loader_client.h", | 306 "+content/browser/loader/test_url_loader_client.h", |
307 "+content/common/resource_request_completion_status.h", | 307 "+content/public/common/resource_request_completion_status.h", |
308 "+content/common/url_loader.mojom.h", | |
309 "+content/common/url_loader_factory.mojom.h", | |
310 "+content/public/common/resource_response.h", | 308 "+content/public/common/resource_response.h", |
| 309 "+content/public/common/url_loader.mojom.h", |
| 310 "+content/public/common/url_loader_factory.mojom.h", |
311 ], | 311 ], |
312 "upload_progress_tracker\.(cc|h)": [ | 312 "upload_progress_tracker\.(cc|h)": [ |
313 "-content", | 313 "-content", |
314 "+content/browser/loader/upload_progress_tracker.h", | 314 "+content/browser/loader/upload_progress_tracker.h", |
315 "+content/common/content_export.h", | 315 "+content/common/content_export.h", |
316 ], | 316 ], |
317 "url_loader_factory_impl\.(cc|h)": [ | 317 "url_loader_factory_impl\.(cc|h)": [ |
318 "-content", | 318 "-content", |
319 "+content/browser/loader/resource_dispatcher_host_impl.h", | 319 "+content/browser/loader/resource_dispatcher_host_impl.h", |
320 "+content/browser/loader/resource_requester_info.h", | 320 "+content/browser/loader/resource_requester_info.h", |
321 "+content/browser/loader/url_loader_factory_impl.h", | 321 "+content/browser/loader/url_loader_factory_impl.h", |
322 "+content/common/content_export.h", | 322 "+content/common/content_export.h", |
323 "+content/common/url_loader.mojom.h", | |
324 "+content/common/url_loader_factory.mojom.h", | |
325 "+content/public/common/resource_request.h", | 323 "+content/public/common/resource_request.h", |
| 324 "+content/public/common/url_loader.mojom.h", |
| 325 "+content/public/common/url_loader_factory.mojom.h", |
326 ], | 326 ], |
327 "url_loader_factory_impl_unittest\.cc": [ | 327 "url_loader_factory_impl_unittest\.cc": [ |
328 "-content", | 328 "-content", |
329 "+content/browser/child_process_security_policy_impl.h", | 329 "+content/browser/child_process_security_policy_impl.h", |
330 "+content/browser/loader/mojo_async_resource_handler.h", | 330 "+content/browser/loader/mojo_async_resource_handler.h", |
331 "+content/browser/loader/test_url_loader_client.h", | 331 "+content/browser/loader/test_url_loader_client.h", |
332 "+content/browser/loader/resource_dispatcher_host_impl.h", | 332 "+content/browser/loader/resource_dispatcher_host_impl.h", |
333 "+content/browser/loader/resource_message_filter.h", | 333 "+content/browser/loader/resource_message_filter.h", |
334 "+content/browser/loader/resource_request_info_impl.h", | 334 "+content/browser/loader/resource_request_info_impl.h", |
335 "+content/browser/loader/url_loader_factory_impl.h", | 335 "+content/browser/loader/url_loader_factory_impl.h", |
336 "+content/browser/loader_delegate_impl.h", | 336 "+content/browser/loader_delegate_impl.h", |
337 "+content/common/resource_request_completion_status.h", | |
338 "+content/common/url_loader.mojom.h", | |
339 "+content/common/url_loader_factory.mojom.h", | |
340 "+content/public/browser/resource_context.h", | 337 "+content/public/browser/resource_context.h", |
341 "+content/public/browser/resource_dispatcher_host_delegate.h", | 338 "+content/public/browser/resource_dispatcher_host_delegate.h", |
342 "+content/public/common/content_paths.h", | 339 "+content/public/common/content_paths.h", |
343 "+content/public/common/resource_request.h", | 340 "+content/public/common/resource_request.h", |
| 341 "+content/public/common/resource_request_completion_status.h", |
| 342 "+content/public/common/url_loader.mojom.h", |
| 343 "+content/public/common/url_loader_factory.mojom.h", |
344 "+content/public/test/test_browser_context.h", | 344 "+content/public/test/test_browser_context.h", |
345 "+content/public/test/test_browser_thread_bundle.h", | 345 "+content/public/test/test_browser_thread_bundle.h", |
346 | 346 |
347 #TODO: To be removed when PlzNavigate lands. | 347 #TODO: To be removed when PlzNavigate lands. |
348 "+content/browser/loader/navigation_resource_throttle.h" | 348 "+content/browser/loader/navigation_resource_throttle.h" |
349 ], | 349 ], |
350 "wake_lock_resource_throttle\.(cc|h)": [ | 350 "wake_lock_resource_throttle\.(cc|h)": [ |
351 "-content", | 351 "-content", |
352 "+content/browser/loader/wake_lock_resource_throttle.h", | 352 "+content/browser/loader/wake_lock_resource_throttle.h", |
353 "+content/browser/service_manager/service_manager_context.h", | 353 "+content/browser/service_manager/service_manager_context.h", |
354 "+content/public/browser/browser_thread.h", | 354 "+content/public/browser/browser_thread.h", |
355 "+content/public/browser/resource_throttle.h", | 355 "+content/public/browser/resource_throttle.h", |
356 ], | 356 ], |
357 } | 357 } |
OLD | NEW |