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