1 # Do NOT add chrome to the list below. We shouldn't be including files from
2 # src/chrome in src/content.
4 # The subdirectories in content/ will manually allow their own include
5 # directories in content/ so we disallow all of them.
8 "+content/port/common",
9 "+content/public/common",
10 "+content/public/test",
11 "+content/shell", # for content_browsertests
14 # content isn't tied to prefs so that other embedders are able to pick
15 # different ways of storing their preferences. Also, this is to avoid prefs
16 # being used as a parallel API to the Content API.
21 "+grit/content_resources.h",
22 "+grit/ui_resources.h",
23 "+grit/webkit_chromium_resources.h",
24 "+grit/webkit_resources.h",
25 "+grit/webkit_strings.h",
26 "+grit/webui_resources_map.h",
36 # In general, content/ should not rely on google_apis, since URLs
37 # and access tokens should usually be provided by the
40 # There are a couple of specific parts of content that are excepted
41 # from this rule, see content/browser/speech/DEPS and
42 # content/browser/geolocation/DEPS. Both of these are cases of
43 # implementations that are strongly tied to Google servers, i.e. we
44 # don't expect alternate implementations to be provided by the
48 # Don't allow inclusion of these other libs we shouldn't be calling directly.
52 # Allow inclusion of third-party code:
56 "+third_party/mozilla",
57 "+third_party/npapi/bindings",
59 "+third_party/sqlite",
60 "+third_party/tcmalloc",
61 "+third_party/khronos",
62 "+third_party/webrtc",
63 "+third_party/WebKit/Source/Platform/chromium",
64 "+third_party/WebKit/Source/WebKit/chromium",
67 # Aura is analogous to Win32 or a Gtk, so it is allowed.
77 # Content knows about grd files, but the specifics of how to get a resource
78 # given its id is left to the embedder.
81 # This file isn't related to grd, so it's fine.
82 "+ui/base/l10n/l10n_util_win.h",
84 # Content shouldn't depend on views. While we technically don't need this
85 # line, since the top level DEPS doesn't allow it, we add it to make this
90 "-webkit/dom_storage",
91 "+webkit/dom_storage/dom_storage_types.h",
93 # For generated JNI includes.