Avoid unnacessarily conversion from index to BookmarkNode pointer.
[chromium-blink-merge.git] / extensions / DEPS
blob61251ffcb8b038de23bd67077a7d5776a62f0085
1 include_rules = [
2   # Do not add Chrome dependencies. Much work went into removing them.
3   "+components/browsing_data",
4   "+components/crx_file",
5   "+components/url_matcher",
6   "-content",
7   "+content/grit/content_resources.h",
8   "+content/public/common",
9   "+content/public/test",
10   "+crypto",
11   "-extensions/components",
12   "+extensions/test",
13   "+grit/extensions_renderer_resources.h",
14   "+grit/extensions_resources.h",
15   "+testing",
16   "+sandbox/win/src/sandbox.h",
17   "+sandbox/win/src/sandbox_policy.h",
18   "+third_party/mojo/src/mojo/public",
19   "+third_party/skia/include",
21   # Minimal UI dependencies. There are two good rules for UI dependencies here:
22   #
23   #   1) UI components should only be added as they are needed, and
24   #   2) if //content doesn't allow it, //extensions probably won't allow it.
25   #      (see for example ui/views)
26   "-ui",
27   "+ui/base",
28   "+ui/gfx",
29   "+ui/events",
31   # NOTE: Please do not add includes without talking to the app shell team;
32   # see OWNERS for this directory.
35 specific_include_rules = {
36   ".*(test|test_util)\.(cc|h)$": [
37     "+content/public/test",
39     # Temporarily allowed testing includes.  See above.
40     # TODO(jamescook): Remove these. http://crbug.com/162530
41     "+chrome/browser/apps/app_browsertest_util.h",
42     "+chrome/browser/extensions/api/management/management_api.h",
43     "+chrome/browser/extensions/api/permissions/permissions_api.h",
44     "+chrome/browser/extensions/extension_apitest.h",
45     "+chrome/browser/extensions/extension_function_test_utils.h",
46     "+chrome/browser/extensions/extension_service.h",
47     "+chrome/browser/extensions/extension_service_test_base.h",
48     "+chrome/browser/extensions/extension_test_message_listener.h",
49     "+chrome/browser/extensions/test_extension_dir.h",
50     "+chrome/browser/extensions/test_extension_prefs.h",
51     "+chrome/browser/extensions/test_extension_system.h",
52     "+chrome/browser/ui/browser.h",
53     "+chrome/common/extensions/features/feature_channel.h",
54     "+chrome/test/base/chrome_render_view_test.h",
55     "+chrome/test/base/testing_profile.h",
56     "+chrome/test/base/ui_test_utils.h",
57   ],