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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. |
108 "+content/public/browser/browser_thread.h", # Only for DCHECK. | 108 "+content/public/browser/browser_thread.h", # Only for DCHECK. |
109 "+content/public/common/resource_devtools_info.h", | 109 "+content/public/common/resource_devtools_info.h", |
110 ], | 110 ], |
111 "power_save_block_resource_throttle\.(cc|h)": [ | |
112 "-content", | |
113 "+content/browser/loader/power_save_block_resource_throttle.h", | |
114 "+content/public/browser/resource_throttle.h", | |
115 ], | |
116 "resource_dispatcher_host_impl\.(cc|h)": [ | 111 "resource_dispatcher_host_impl\.(cc|h)": [ |
117 "-content", | 112 "-content", |
118 "+content/browser/loader/async_resource_handler.h", | 113 "+content/browser/loader/async_resource_handler.h", |
119 "+content/browser/loader/global_routing_id.h", | 114 "+content/browser/loader/global_routing_id.h", |
120 "+content/browser/loader/loader_delegate.h", | 115 "+content/browser/loader/loader_delegate.h", |
121 "+content/browser/loader/mojo_async_resource_handler.h", | 116 "+content/browser/loader/mojo_async_resource_handler.h", |
122 "+content/browser/loader/null_resource_controller.h", | 117 "+content/browser/loader/null_resource_controller.h", |
123 "+content/browser/loader/power_save_block_resource_throttle.h", | |
124 "+content/browser/loader/resource_dispatcher_host_impl.h", | 118 "+content/browser/loader/resource_dispatcher_host_impl.h", |
125 "+content/browser/loader/resource_loader.h", | 119 "+content/browser/loader/resource_loader.h", |
126 "+content/browser/loader/resource_loader_delegate.h", | 120 "+content/browser/loader/resource_loader_delegate.h", |
127 "+content/browser/loader/resource_message_filter.h", | 121 "+content/browser/loader/resource_message_filter.h", |
128 "+content/browser/loader/resource_request_info_impl.h", | 122 "+content/browser/loader/resource_request_info_impl.h", |
129 "+content/browser/loader/resource_requester_info.h", | 123 "+content/browser/loader/resource_requester_info.h", |
130 "+content/browser/loader/resource_scheduler.h", | 124 "+content/browser/loader/resource_scheduler.h", |
131 "+content/browser/loader/stream_resource_handler.h", | 125 "+content/browser/loader/stream_resource_handler.h", |
132 "+content/browser/loader/sync_resource_handler.h", | 126 "+content/browser/loader/sync_resource_handler.h", |
133 "+content/browser/loader/throttling_resource_handler.h", | 127 "+content/browser/loader/throttling_resource_handler.h", |
| 128 "+content/browser/loader/wake_lock_resource_throttle.h", |
134 "+content/common/resource_request_body.h", | 129 "+content/common/resource_request_body.h", |
135 "+content/common/resource_request_body_impl.h", | 130 "+content/common/resource_request_body_impl.h", |
136 "+content/common/url_loader.mojom.h", | 131 "+content/common/url_loader.mojom.h", |
137 "+content/public/browser/global_request_id.h", | 132 "+content/public/browser/global_request_id.h", |
138 "+content/public/browser/resource_dispatcher_host.h", | 133 "+content/public/browser/resource_dispatcher_host.h", |
139 "+content/public/browser/resource_dispatcher_host_delegate.h", | 134 "+content/public/browser/resource_dispatcher_host_delegate.h", |
140 "+content/public/browser/resource_request_info.h", | 135 "+content/public/browser/resource_request_info.h", |
141 "+content/public/browser/resource_throttle.h", | 136 "+content/public/browser/resource_throttle.h", |
142 "+content/public/common/previews_state.h", | 137 "+content/public/common/previews_state.h", |
143 | 138 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 "+content/common/url_loader_factory.mojom.h", | 337 "+content/common/url_loader_factory.mojom.h", |
343 "+content/public/browser/resource_context.h", | 338 "+content/public/browser/resource_context.h", |
344 "+content/public/browser/resource_dispatcher_host_delegate.h", | 339 "+content/public/browser/resource_dispatcher_host_delegate.h", |
345 "+content/public/common/content_paths.h", | 340 "+content/public/common/content_paths.h", |
346 "+content/public/test/test_browser_context.h", | 341 "+content/public/test/test_browser_context.h", |
347 "+content/public/test/test_browser_thread_bundle.h", | 342 "+content/public/test/test_browser_thread_bundle.h", |
348 | 343 |
349 #TODO: To be removed when PlzNavigate lands. | 344 #TODO: To be removed when PlzNavigate lands. |
350 "+content/browser/loader/navigation_resource_throttle.h" | 345 "+content/browser/loader/navigation_resource_throttle.h" |
351 ], | 346 ], |
| 347 "wake_lock_resource_throttle\.(cc|h)": [ |
| 348 "-content", |
| 349 "+content/browser/loader/wake_lock_resource_throttle.h", |
| 350 "+content/browser/service_manager/service_manager_context.h", |
| 351 "+content/public/browser/browser_thread.h", |
| 352 "+content/public/browser/resource_throttle.h", |
| 353 ], |
352 } | 354 } |
OLD | NEW |