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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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.h", | |
86 "+content/common/resource_request_completion_status.h", | 85 "+content/common/resource_request_completion_status.h", |
87 "+content/common/url_loader.mojom.h", | 86 "+content/common/url_loader.mojom.h", |
88 "+content/common/url_loader_factory.mojom.h", | 87 "+content/common/url_loader_factory.mojom.h", |
89 "+content/public/browser/appcache_service.h", | 88 "+content/public/browser/appcache_service.h", |
90 "+content/public/browser/navigation_data.h", | 89 "+content/public/browser/navigation_data.h", |
91 "+content/public/browser/resource_context.h", | 90 "+content/public/browser/resource_context.h", |
92 "+content/public/browser/resource_dispatcher_host_delegate.h", | 91 "+content/public/browser/resource_dispatcher_host_delegate.h", |
93 "+content/public/browser/resource_throttle.h", | 92 "+content/public/browser/resource_throttle.h", |
94 "+content/public/browser/stream_info.h", | 93 "+content/public/browser/stream_info.h", |
95 "+content/public/common/previews_state.h", | 94 "+content/public/common/previews_state.h", |
| 95 "+content/public/common/resource_request.h", |
96 "+content/public/common/resource_response.h", | 96 "+content/public/common/resource_response.h", |
97 "+content/public/common/resource_type.h", | 97 "+content/public/common/resource_type.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", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after 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.h", | |
184 "+content/common/resource_request_completion_status.h", | 183 "+content/common/resource_request_completion_status.h", |
185 "+content/common/view_messages.h", | 184 "+content/common/view_messages.h", |
| 185 "+content/public/common/resource_request.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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/resource_request.h", | |
324 "+content/common/url_loader.mojom.h", | 323 "+content/common/url_loader.mojom.h", |
325 "+content/common/url_loader_factory.mojom.h", | 324 "+content/common/url_loader_factory.mojom.h", |
| 325 "+content/public/common/resource_request.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.h", | |
338 "+content/common/resource_request_completion_status.h", | 337 "+content/common/resource_request_completion_status.h", |
339 "+content/common/url_loader.mojom.h", | 338 "+content/common/url_loader.mojom.h", |
340 "+content/common/url_loader_factory.mojom.h", | 339 "+content/common/url_loader_factory.mojom.h", |
341 "+content/public/browser/resource_context.h", | 340 "+content/public/browser/resource_context.h", |
342 "+content/public/browser/resource_dispatcher_host_delegate.h", | 341 "+content/public/browser/resource_dispatcher_host_delegate.h", |
343 "+content/public/common/content_paths.h", | 342 "+content/public/common/content_paths.h", |
| 343 "+content/public/common/resource_request.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 |