| include_rules = [ |
| "-content", |
| "+content/common/service_worker/service_worker_types.h", |
| "+content/public", |
| "+components/download/public/common", |
| "+components/viz/common", |
| "+components/viz/host", |
| "+components/viz/service", |
| "+components/viz/test", |
| "+services/audio/public/mojom", |
| "+services/network", |
| "+services/resource_coordinator", |
| "+services/service_manager", |
| "+ui/ozone/public", |
| "+v8/include/v8.h", |
| ] |
| |
| # Ensure we don't leak internal content headers through public headers. |
| specific_include_rules = { |
| ".*\.(cc|mm)": [ |
| # Testing utilities can access anything in content/ |
| "+content", |
| "+gin/v8_initializer.h", |
| "+services/network/network_context.h", |
| "+third_party/iaccessible2", |
| "+ui/base/resource/resource_bundle.h", |
| ], |
| "content_browser_test.cc": [ |
| "+ui/views/test/widget_test_api.h" |
| ], |
| } |