Refactor SharedMemory::Create and fix a rare file leak.
[chromium-blink-merge.git] / chrome / browser / DEPS
blobcd2bc8bd55dcdbce31ee35c325c936fdd75efa54
1 include_rules = [
2   "+apps",
3   "+ash",
4   "+athena/content/public",
5   "+chrome/app",
6   "+chrome/chrome_watcher",
7   "+chrome/grit",  # For generated headers
8   "+chrome/installer",
9   "+chrome_elf/blacklist",
10   "+chrome_elf/chrome_elf_constants.h",
11   "+chrome_elf/create_file",
12   "+chrome_elf/dll_hash",
13   "+chromeos",
14   "+components/app_modal",
15   "+components/audio_modem/public",
16   "+components/audio_modem/test",
17   "+components/autofill/content/browser",
18   "+components/autofill/content/common",
19   "+components/autofill/core/browser",
20   "+components/autofill/core/common",
21   "+components/bookmarks/browser",
22   "+components/bookmarks/common",
23   "+components/bookmarks/managed",
24   "+components/bookmarks/test",
25   "+components/browser_watcher",
26   "+components/browsing_data",
27   "+components/cdm/browser",
28   "+components/cloud_devices/common",
29   "+components/component_updater",
30   "+components/content_settings",
31   "+components/copresence",
32   "+components/crash",
33   "+components/crx_file",
34   "+components/data_reduction_proxy",
35   "+components/device_event_log",
36   "+components/dom_distiller",
37   "+components/domain_reliability",
38   "+components/enhanced_bookmarks",
39   "+components/favicon",
40   "+components/favicon_base",
41   "+components/feedback",
42   "+components/gcm_driver",
43   "+components/google",
44   "+components/grit",
45   "+components/guest_view/browser",
46   "+components/handoff",
47   "+components/history",
48   "+components/infobars",
49   "+components/invalidation",
50   "+components/keyed_service",
51   "+components/language_usage_metrics",
52   "+components/leveldb_proto",
53   "+components/metrics",
54   "+components/mime_util",
55   "+components/nacl/browser",
56   "+components/nacl/common",
57   "+components/navigation_interception",
58   "+components/navigation_metrics",
59   "+components/network_hints",
60   "+components/network_time",
61   "+components/omnibox",
62   "+components/os_crypt",
63   "+components/password_manager",
64   "+components/pdf/browser",
65   "+components/plugins/common",
66   "+components/policy",
67   "+components/power",
68   "+components/precache",
69   "+components/pref_registry",
70   "+components/printing/common",
71   "+components/proximity_auth",
72   "+components/query_parser",
73   "+components/rappor",
74   "+components/renderer_context_menu",
75   "+components/search",
76   "+components/search_engines",
77   "+components/search_provider_logos",
78   "+components/service_tab_launcher",
79   "+components/session_manager",
80   "+components/sessions",
81   "+components/signin",
82   "+components/startup_metric_utils",
83   "+components/storage_monitor",
84   "+components/suggestions",
85   "+components/sync_driver",
86   "+components/translate/content/browser",
87   "+components/translate/content/common",
88   "+components/translate/core/browser",
89   "+components/translate/core/common",
90   "+components/ui",
91   "+components/undo",
92   "+components/update_client",
93   "+components/url_matcher",
94   "+components/user_manager",
95   "+components/user_prefs",
96   "+components/web_modal",
97   "+components/web_cache/browser",
98   "+components/webdata/common",
99   "+components/webdata_services",
100   "+components/web_resource",
101   "+content/public/browser",
102   "+content/test/net",
103   "+courgette",
104   "+device/bluetooth",
105   "+device/core",
106   "+device/hid",
107   "+device/usb",
108   "+device/media_transfer_protocol",
109   "+extensions/browser",
110   "+extensions/common",
111   "+extensions/components/javascript_dialog_extensions_client",
112   "+extensions/grit",
113   "+extensions/test",
114   "+gin",
115   "+google/cacheinvalidation",  # Sync invalidation API protobuf files.
116   "+google_apis",
117   "+google_update",
118   "+grit",  # TODO(thestig) Remove. For generated headers
119   "+installer_util_strings",  # For generated headers
120   "+jni",
121   "+media/audio", # For media audio hang monitor.
122   "+media/base",  # For media switches
123   "+policy",  # For generated headers and source
124   "+ppapi/c",  # For various types.
125   "+ppapi/host",
126   "+ppapi/proxy",
127   "+ppapi/shared_impl",
128   # Defines some types that are marshalled over IPC.
129   "+ppapi/shared_impl/ppp_flash_browser_operations_shared.h",
130   "+rlz",
131   "+sandbox/win/src",  # The path doesn't say it, but this is the Windows sandbox.
132   "+skia/ext",
133   "+sync/api",  # Sync API files.
134   "+sync/internal_api/public/attachments",  # Needed for tests.
135   "+sync/protocol",  # Sync protobuf files.
136   "+sync/util",  # Sync utilities like GetSessionName.
137   "+syzygy/kasko",
138   "+third_party/cros_system_api",
139   "+win8/util",
141   # chrome only needs switches from cc. All usage of the compositor is from
142   # content. Definitely don't include generic stuff from cc/base here, if this
143   # is needed these files need to move to base/
144   "+cc/base/switches.h",
146   # Unsafe to use from //chrome, see http://goo.gl/QQG5wo
147   "-content/public/test/test_browser_context.h",
149   # TODO(stuartmorgan): Remove these by refactoring necessary code out of
150   # webkit/. See crbug.com/146251
151   # DO NOT ADD ANY MORE ITEMS TO THE LIST BELOW!
153   "+storage/browser",
154   "+storage/common",
156   "-chrome/browser/ui/views",
157   "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h",
158   "+chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h",
159   "+chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.h",
161   # Other libraries.
162   "+libxml",  # For search engine definition parsing.
163   "+third_party/google_toolbox_for_mac/src",
164   "+third_party/icu/source/common/unicode",
165   "+third_party/icu/source/i18n/unicode",
166   "+third_party/leveldatabase",
167   "+third_party/mozilla",     # Mozilla interface headers.
168   "+third_party/protobuf/src/google/protobuf",
169   "+third_party/re2",
170   "+third_party/smhasher",
171   "+third_party/sqlite",
172   "+third_party/zlib",
174   # No inclusion of WebKit from the browser, other than strictly enum/POD,
175   # header-only types, and some selected common code.
176   "-third_party/WebKit",
177   "+third_party/WebKit/public/platform/WebReferrerPolicy.h",
178   "+third_party/WebKit/public/platform/WebScreenOrientationLockType.h",
179   "+third_party/WebKit/public/platform/modules/app_banner/WebAppBannerPromptReply.h",
180   "+third_party/WebKit/public/platform/modules/push_messaging/WebPushPermissionStatus.h",
181   "+third_party/WebKit/public/web/WebCache.h",
182   "+third_party/WebKit/public/web/WebContextMenuData.h",
183   "+third_party/WebKit/public/web/WebFindOptions.h",
184   "+third_party/WebKit/public/web/WebInputEvent.h",
185   "+third_party/WebKit/public/web/WebMediaPlayerAction.h",
186   "+third_party/WebKit/public/web/WebPluginAction.h",
187   "+third_party/WebKit/public/web/WebTextDirection.h",
188   "+third_party/WebKit/public/web/WebWindowFeatures.h",