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