Pass CreateDirectory errors up to IndexedDB.
[chromium-blink-merge.git] / content / DEPS
blob32a27374a324568cd99b176013d1e0878124546f
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/base/thread.h",  # http://crbug.com/249172
21   "!cc/base/thread_impl.h",  # http://crbug.com/249172
22   # If you want to use any of these files, move them to src/base first.
23   "-cc/base/hash_pair.h",
24   "-cc/base/scoped_ptr_algorithm.h",
25   "-cc/base/scoped_ptr_deque.h",
26   "-cc/base/scoped_ptr_hash_map.h",
27   "-cc/base/scoped_ptr_vector.h",
29   "+crypto",
30   "+grit/content_resources.h",
31   "+grit/ui_resources.h",
32   "+grit/ui_strings.h",
33   "+grit/webkit_chromium_resources.h",
34   "+grit/webkit_resources.h",
35   "+grit/webkit_strings.h",
36   "+grit/webui_resources_map.h",
38   "+dbus",
39   "+gpu",
40   "+net",
41   "+ppapi",
42   "+printing",
43   "+sandbox",
44   "+skia",
46   # In general, content/ should not rely on google_apis, since URLs
47   # and access tokens should usually be provided by the
48   # embedder.
49   #
50   # There are a couple of specific parts of content that are excepted
51   # from this rule, see content/browser/speech/DEPS and
52   # content/browser/geolocation/DEPS.  Both of these are cases of
53   # implementations that are strongly tied to Google servers, i.e. we
54   # don't expect alternate implementations to be provided by the
55   # embedder.
56   "-google_apis",
58   # Don't allow inclusion of these other libs we shouldn't be calling directly.
59   "-v8",
60   "-tools",
62   # Allow inclusion of third-party code:
63   "+third_party/angle",
64   "+third_party/angle_dx11",
65   "+third_party/flac",
66   "+third_party/gpsd",
67   "+third_party/libjingle",
68   "+third_party/mozilla",
69   "+third_party/npapi/bindings",
70   "+third_party/skia",
71   "+third_party/sqlite",
72   "+third_party/tcmalloc",
73   "+third_party/khronos",
74   "+third_party/webrtc",
75   "+third_party/zlib/google",
76   "+third_party/WebKit/public/platform",
77   "+third_party/WebKit/public/web",
79   "+ui/android",
80   # Aura is analogous to Win32 or a Gtk, so it is allowed.
81   "+ui/aura",
82   "+ui/base",
83   "+ui/compositor",
84   "+ui/gfx",
85   "+ui/gl",
86   "+ui/native_theme",
87   "+ui/shell_dialogs",
88   "+ui/snapshot",
89   "+ui/surface",
90   # Content knows about grd files, but the specifics of how to get a resource
91   # given its id is left to the embedder.
92   "-ui/base/l10n",
93   "-ui/base/resource",
94   # This file isn't related to grd, so it's fine.
95   "+ui/base/l10n/l10n_util_win.h",
97   # Content shouldn't depend on views. While we technically don't need this
98   # line, since the top level DEPS doesn't allow it, we add it to make this
99   # explicit.
100   "-ui/views",
102   "+webkit",
103   "-webkit/dom_storage",
104   "+webkit/dom_storage/dom_storage_types.h",
106   # For generated JNI includes.
107   "+jni",