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/netlog_observer.h", | 15 "+content/browser/loader/netlog_observer.h", |
15 "+content/browser/loader/resource_buffer.h", | 16 "+content/browser/loader/resource_buffer.h", |
16 "+content/browser/loader/resource_dispatcher_host_impl.h", | 17 "+content/browser/loader/resource_dispatcher_host_impl.h", |
17 "+content/browser/loader/resource_handler.h", | 18 "+content/browser/loader/resource_handler.h", |
18 "+content/browser/loader/resource_message_delegate.h", | 19 "+content/browser/loader/resource_message_delegate.h", |
19 "+content/browser/loader/resource_message_filter.h", | 20 "+content/browser/loader/resource_message_filter.h", |
20 "+content/browser/loader/resource_request_info_impl.h", | 21 "+content/browser/loader/resource_request_info_impl.h", |
21 "+content/common/content_export.h", | 22 "+content/common/content_export.h", |
22 "+content/public/browser/resource_controller.h", | 23 "+content/public/browser/resource_controller.h", |
23 "+content/public/browser/resource_dispatcher_host_delegate.h", | 24 "+content/public/browser/resource_dispatcher_host_delegate.h", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "+content/browser/loader/async_revalidation_manager.h", | 57 "+content/browser/loader/async_revalidation_manager.h", |
57 "+content/browser/loader/resource_message_filter.h", | 58 "+content/browser/loader/resource_message_filter.h", |
58 "+content/browser/loader/resource_request_info_impl.h", | 59 "+content/browser/loader/resource_request_info_impl.h", |
59 "+content/browser/loader/resource_scheduler.h", | 60 "+content/browser/loader/resource_scheduler.h", |
60 "+content/public/browser/resource_throttle.h", | 61 "+content/public/browser/resource_throttle.h", |
61 | 62 |
62 # TODO: To be replaced by mojo. | 63 # TODO: To be replaced by mojo. |
63 "+content/common/resource_messages.h", | 64 "+content/common/resource_messages.h", |
64 "+content/common/resource_request.h", | 65 "+content/common/resource_request.h", |
65 ], | 66 ], |
| 67 "downloaded_temp_file_impl\.(cc|h)": [ |
| 68 "-content", |
| 69 "+content/browser/loader/downloaded_temp_file_impl.h", |
| 70 "+content/browser/loader/resource_dispatcher_host_impl.h", |
| 71 "+content/common/content_export.h", |
| 72 "+content/common/url_loader_factory.mojom.h" |
| 73 ], |
66 "resource_buffer.*\.(cc|h)": [ | 74 "resource_buffer.*\.(cc|h)": [ |
67 "-content", | 75 "-content", |
68 "+content/browser/loader/resource_buffer.h", | 76 "+content/browser/loader/resource_buffer.h", |
69 "+content/common/content_export.h", | 77 "+content/common/content_export.h", |
70 ], | 78 ], |
71 "global_routing_id\.h": [ | 79 "global_routing_id\.h": [ |
72 "-content", | 80 "-content", |
73 ], | 81 ], |
74 "layered_resource_handler\.(cc|h)": [ | 82 "layered_resource_handler\.(cc|h)": [ |
75 "-content", | 83 "-content", |
76 "+content/browser/loader/layered_resource_handler.h", | 84 "+content/browser/loader/layered_resource_handler.h", |
77 "+content/browser/loader/resource_handler.h", | 85 "+content/browser/loader/resource_handler.h", |
78 "+content/common/content_export.h", | 86 "+content/common/content_export.h", |
79 ], | 87 ], |
80 "mojo_async_resource_handler\.(cc|h)": [ | 88 "mojo_async_resource_handler\.(cc|h)": [ |
81 "-content", | 89 "-content", |
82 "+content/browser/loader/async_resource_handler.h", | 90 "+content/browser/loader/async_resource_handler.h", |
| 91 "+content/browser/loader/downloaded_temp_file_impl.h", |
83 "+content/browser/loader/mojo_async_resource_handler.h", | 92 "+content/browser/loader/mojo_async_resource_handler.h", |
84 "+content/browser/loader/test_url_loader_client.h", | 93 "+content/browser/loader/test_url_loader_client.h", |
85 "+content/browser/loader/netlog_observer.h", | 94 "+content/browser/loader/netlog_observer.h", |
86 "+content/browser/loader/resource_dispatcher_host_impl.h", | 95 "+content/browser/loader/resource_dispatcher_host_impl.h", |
87 "+content/browser/loader/resource_handler.h", | 96 "+content/browser/loader/resource_handler.h", |
88 "+content/browser/loader/resource_request_info_impl.h", | 97 "+content/browser/loader/resource_request_info_impl.h", |
89 "+content/common/content_export.h", | 98 "+content/common/content_export.h", |
90 "+content/common/resource_request_completion_status.h", | 99 "+content/common/resource_request_completion_status.h", |
91 "+content/public/browser/global_request_id.h", | 100 "+content/public/browser/global_request_id.h", |
92 "+content/public/browser/resource_controller.h", | 101 "+content/public/browser/resource_controller.h", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ], | 136 ], |
128 "power_save_block_resource_throttle\.(cc|h)": [ | 137 "power_save_block_resource_throttle\.(cc|h)": [ |
129 "-content", | 138 "-content", |
130 "+content/browser/loader/power_save_block_resource_throttle.h", | 139 "+content/browser/loader/power_save_block_resource_throttle.h", |
131 "+content/public/browser/resource_throttle.h", | 140 "+content/public/browser/resource_throttle.h", |
132 ], | 141 ], |
133 "resource_dispatcher_host_impl\.(cc|h)": [ | 142 "resource_dispatcher_host_impl\.(cc|h)": [ |
134 "-content", | 143 "-content", |
135 "+content/browser/loader/async_resource_handler.h", | 144 "+content/browser/loader/async_resource_handler.h", |
136 "+content/browser/loader/async_revalidation_manager.h", | 145 "+content/browser/loader/async_revalidation_manager.h", |
| 146 "+content/browser/loader/downloaded_temp_file_impl.h", |
137 "+content/browser/loader/global_routing_id.h", | 147 "+content/browser/loader/global_routing_id.h", |
138 "+content/browser/loader/loader_delegate.h", | 148 "+content/browser/loader/loader_delegate.h", |
139 "+content/browser/loader/mojo_async_resource_handler.h", | 149 "+content/browser/loader/mojo_async_resource_handler.h", |
140 "+content/browser/loader/power_save_block_resource_throttle.h", | 150 "+content/browser/loader/power_save_block_resource_throttle.h", |
141 "+content/browser/loader/resource_dispatcher_host_impl.h", | 151 "+content/browser/loader/resource_dispatcher_host_impl.h", |
142 "+content/browser/loader/resource_loader.h", | 152 "+content/browser/loader/resource_loader.h", |
143 "+content/browser/loader/resource_loader_delegate.h", | 153 "+content/browser/loader/resource_loader_delegate.h", |
144 "+content/browser/loader/resource_message_filter.h", | 154 "+content/browser/loader/resource_message_filter.h", |
145 "+content/browser/loader/resource_request_info_impl.h", | 155 "+content/browser/loader/resource_request_info_impl.h", |
146 "+content/browser/loader/resource_scheduler.h", | 156 "+content/browser/loader/resource_scheduler.h", |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 "+content/public/browser/resource_dispatcher_host_delegate.h", | 352 "+content/public/browser/resource_dispatcher_host_delegate.h", |
343 "+content/public/common/content_paths.h", | 353 "+content/public/common/content_paths.h", |
344 "+content/public/common/process_type.h", | 354 "+content/public/common/process_type.h", |
345 "+content/public/test/test_browser_context.h", | 355 "+content/public/test/test_browser_context.h", |
346 "+content/public/test/test_browser_thread_bundle.h", | 356 "+content/public/test/test_browser_thread_bundle.h", |
347 | 357 |
348 #TODO: To be removed when PlzNavigate lands. | 358 #TODO: To be removed when PlzNavigate lands. |
349 "+content/browser/loader/navigation_resource_throttle.h" | 359 "+content/browser/loader/navigation_resource_throttle.h" |
350 ], | 360 ], |
351 } | 361 } |
OLD | NEW |