Remove PlatformFile from profile_browsertest
[chromium-blink-merge.git] / content / DEPS
blob56a4ab612acf9c6f031605eec9b8ad4ca98f14bf
1 # Do NOT add chrome or components to the list below.  We shouldn't be
2 # including files from src/chrome or src/components in src/content.
3 include_rules = [
4   # The subdirectories in content/ will manually allow their own include
5   # directories in content/ so we disallow all of them.
6   "-content",
7   "+content/common",
8   "+content/port/common",
9   "+content/public/common",
10   "+content/public/test",
11   "+content/shell",  # for content_browsertests
12   "+content/test",
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.
17   "-base/prefs",
19   "+cc",
20   "-cc/surfaces",
21   # If you want to use any of these files, move them to src/base first.
22   "-cc/base/scoped_ptr_algorithm.h",
23   "-cc/base/scoped_ptr_deque.h",
24   "-cc/base/scoped_ptr_vector.h",
26   "+crypto",
27   "+grit/blink_resources.h",
28   "+grit/content_resources.h",
29   "+grit/ui_resources.h",
30   "+grit/ui_strings.h",
31   "+grit/webkit_resources.h",
32   "+grit/webkit_strings.h",
33   "+grit/webui_resources.h",
34   "+grit/webui_resources_map.h",
36   "+dbus",
37   "+gpu",
38   "+mojo/public",
39   "+mojo/bindings/js",
40   "+mojo/embedder",
41   "+mojo/service_manager",
42   "+net",
43   "+ppapi",
44   "+printing",
45   "+sandbox",
46   "+skia",
48   # In general, content/ should not rely on google_apis, since URLs
49   # and access tokens should usually be provided by the
50   # embedder.
51   #
52   # There are a couple of specific parts of content that are excepted
53   # from this rule, see content/browser/speech/DEPS and
54   # content/browser/geolocation/DEPS.  Both of these are cases of
55   # implementations that are strongly tied to Google servers, i.e. we
56   # don't expect alternate implementations to be provided by the
57   # embedder.
58   "-google_apis",
60   # Don't allow inclusion of these other libs we shouldn't be calling directly.
61   "-v8",
62   "-tools",
64   # Allow inclusion of third-party code:
65   "+third_party/angle",
66   "+third_party/flac",
67   "+third_party/libjingle",
68   "+third_party/mozilla",
69   "+third_party/npapi/bindings",
70   "+third_party/re2",
71   "+third_party/skia",
72   "+third_party/sqlite",
73   "+third_party/tcmalloc",
74   "+third_party/khronos",
75   "+third_party/webrtc",
76   "+third_party/zlib/google",
77   "+third_party/WebKit/public/platform",
78   "+third_party/WebKit/public/web",
80   "+ui/accessibility",
81   "+ui/android",
82   # Aura is analogous to Win32 or a Gtk, so it is allowed.
83   "+ui/aura",
84   "+ui/base",
85   "+ui/compositor",
86   "+ui/events",
87   "+ui/gfx",
88   "+ui/gl",
89   "+ui/native_theme",
90   "+ui/shell_dialogs",
91   "+ui/snapshot",
92   "+ui/surface",
93   "+ui/wm/public",
94   # Content knows about grd files, but the specifics of how to get a resource
95   # given its id is left to the embedder.
96   "-ui/base/l10n",
97   "-ui/base/resource",
98   # This file isn't related to grd, so it's fine.
99   "+ui/base/l10n/l10n_util_win.h",
101   # Content shouldn't depend on views. While we technically don't need this
102   # line, since the top level DEPS doesn't allow it, we add it to make this
103   # explicit.
104   "-ui/views",
106   "+webkit",
108   # For generated JNI includes.
109   "+jni",