OLD | NEW |
---|---|
(Empty) | |
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 | |
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 | |
5 # code's dependencies. | |
6 # | |
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 | |
9 # by a comment, lists files that we will have to decouple. | |
10 specific_include_rules = { | |
11 "resource_buffer*\.(cc|h)": [ | |
scottmg
2016/04/27 17:44:35
I think the * on this line is wrong, these are reg
| |
12 "-content", | |
13 "+content/browser/loader/resource_buffer.h", | |
14 "+content/common/content_export.h", | |
15 ], | |
16 "resource_handler\.(cc|h)": [ | |
17 "-content", | |
18 "+content/browser/loader/resource_handler.h", | |
19 "+content/browser/loader/resource_request_info_impl.h", | |
20 "+content/common/content_export.h", | |
21 ], | |
22 "resource_request_info_impl\.(cc|h)": [ | |
23 "-content", | |
24 "+content/browser/loader/global_routing_id.h", | |
25 "+content/browser/loader/resource_handler.h", | |
26 "+content/browser/loader/resource_message_filter.h", | |
27 "+content/browser/loader/resource_request_info_impl.h", | |
28 "+content/common/content_export.h", | |
29 "+content/public/browser/global_request_id.h", | |
30 "+content/public/browser/resource_request_info.h", | |
31 "+content/public/common/referrer.h", | |
scottmg
2016/04/26 20:17:02
I added this one to the move pile in content/publi
jam
2016/04/26 21:31:27
Acknowledged.
| |
32 "+content/public/common/resource_type.h", | |
33 | |
34 # TODO: these all have to be removed. | |
35 "+content/browser/frame_host/frame_tree_node.h", | |
scottmg
2016/04/26 20:17:02
Make these ! instead of +.
jam
2016/04/26 21:31:27
that is helpful per directory, to ensure that no m
scottmg
2016/04/26 21:36:23
more for intent here, as compared with +s, but doe
| |
36 "+content/browser/web_contents/web_contents_impl.h", | |
37 "+content/common/net/url_request_service_worker_data.h", | |
38 "+content/common/net/url_request_user_data.h", | |
39 "+content/public/browser/browser_thread.h", | |
40 "+content/public/common/browser_side_navigation_policy.h", | |
41 "+content/public/common/process_type.h", | |
42 ], | |
43 } | |
OLD | NEW |