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 = { |
11 "async_resource_handler\.(cc|h)": [ | 11 "async_resource_handler\.(cc|h)": [ |
12 "-content", | 12 "-content", |
13 "+content/browser/loader/async_resource_handler.h", | 13 "+content/browser/loader/async_resource_handler.h", |
14 "+content/browser/loader/downloaded_temp_file_impl.h", | 14 "+content/browser/loader/downloaded_temp_file_impl.h", |
15 "+content/browser/loader/netlog_observer.h", | 15 "+content/browser/loader/netlog_observer.h", |
16 "+content/browser/loader/resource_buffer.h", | 16 "+content/browser/loader/resource_buffer.h", |
17 "+content/browser/loader/resource_controller.h", | 17 "+content/browser/loader/resource_controller.h", |
18 "+content/browser/loader/resource_dispatcher_host_impl.h", | 18 "+content/browser/loader/resource_dispatcher_host_impl.h", |
19 "+content/browser/loader/resource_handler.h", | 19 "+content/browser/loader/resource_handler.h", |
20 "+content/browser/loader/resource_message_delegate.h", | 20 "+content/browser/loader/resource_message_delegate.h", |
21 "+content/browser/loader/resource_message_filter.h", | 21 "+content/browser/loader/resource_message_filter.h", |
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/browser/resource_dispatcher_host_delegate.h", | |
26 "+content/public/common/resource_response.h", | 25 "+content/public/common/resource_response.h", |
27 | 26 |
28 # TODO: these all have to be removed. | 27 # TODO: these all have to be removed. |
29 "+content/public/common/content_features.h", | 28 "+content/public/common/content_features.h", |
30 | 29 |
31 # TODO: To be replaced by mojo. | 30 # TODO: To be replaced by mojo. |
32 "+content/common/resource_messages.h", | 31 "+content/common/resource_messages.h", |
33 "+content/common/resource_request_completion_status.h", | 32 "+content/common/resource_request_completion_status.h", |
34 "+content/common/view_messages.h", | 33 "+content/common/view_messages.h", |
35 ], | 34 ], |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 "+content/browser/loader/resource_controller.h", | 93 "+content/browser/loader/resource_controller.h", |
95 "+content/browser/loader/resource_dispatcher_host_impl.h", | 94 "+content/browser/loader/resource_dispatcher_host_impl.h", |
96 "+content/browser/loader/resource_handler.h", | 95 "+content/browser/loader/resource_handler.h", |
97 "+content/browser/loader/resource_request_info_impl.h", | 96 "+content/browser/loader/resource_request_info_impl.h", |
98 "+content/browser/loader/resource_scheduler.h", | 97 "+content/browser/loader/resource_scheduler.h", |
99 "+content/browser/loader/upload_progress_tracker.h", | 98 "+content/browser/loader/upload_progress_tracker.h", |
100 "+content/common/content_export.h", | 99 "+content/common/content_export.h", |
101 "+content/common/resource_request_completion_status.h", | 100 "+content/common/resource_request_completion_status.h", |
102 "+content/common/url_loader.mojom.h", | 101 "+content/common/url_loader.mojom.h", |
103 "+content/public/browser/global_request_id.h", | 102 "+content/public/browser/global_request_id.h", |
104 "+content/public/browser/resource_dispatcher_host_delegate.h", | |
105 "+content/public/common/resource_response.h", | 103 "+content/public/common/resource_response.h", |
106 "+content/public/common/resource_type.h", | 104 "+content/public/common/resource_type.h", |
107 ], | 105 ], |
108 "mojo_async_resource_handler_unittest\.cc": [ | 106 "mojo_async_resource_handler_unittest\.cc": [ |
109 "-content", | 107 "-content", |
110 "+content/browser/loader/mock_resource_loader.h", | 108 "+content/browser/loader/mock_resource_loader.h", |
111 "+content/browser/loader/mojo_async_resource_handler.h", | 109 "+content/browser/loader/mojo_async_resource_handler.h", |
112 "+content/browser/loader/test_url_loader_client.h", | 110 "+content/browser/loader/test_url_loader_client.h", |
113 "+content/browser/loader/resource_controller.h", | 111 "+content/browser/loader/resource_controller.h", |
114 "+content/browser/loader/resource_dispatcher_host_impl.h", | 112 "+content/browser/loader/resource_dispatcher_host_impl.h", |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 "+content/public/browser/resource_context.h", | 377 "+content/public/browser/resource_context.h", |
380 "+content/public/browser/resource_dispatcher_host_delegate.h", | 378 "+content/public/browser/resource_dispatcher_host_delegate.h", |
381 "+content/public/common/content_paths.h", | 379 "+content/public/common/content_paths.h", |
382 "+content/public/test/test_browser_context.h", | 380 "+content/public/test/test_browser_context.h", |
383 "+content/public/test/test_browser_thread_bundle.h", | 381 "+content/public/test/test_browser_thread_bundle.h", |
384 | 382 |
385 #TODO: To be removed when PlzNavigate lands. | 383 #TODO: To be removed when PlzNavigate lands. |
386 "+content/browser/loader/navigation_resource_throttle.h" | 384 "+content/browser/loader/navigation_resource_throttle.h" |
387 ], | 385 ], |
388 } | 386 } |
OLD | NEW |