OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 # Autofill is being made into a component (it will end up at | 2 "+content/public/browser", |
3 # //components/autofill and not depend on //chrome), so we have | 3 "+crypto/random.h", |
4 # these basic rules followed by temporary exceptions. Please don't | 4 "+google_apis/google_api_keys.h", |
5 # add to the list of exceptions! | 5 "+net", |
6 "-chrome/browser", | 6 "+third_party/libjingle", |
7 "-chrome/common", | 7 "+third_party/libphonenumber", # For phone number i18n. |
8 "+chrome/browser/autofill", | 8 "+webkit/plugins/webplugininfo.h", |
9 | 9 |
10 # TODO(joi): This is "ok" temporarily (it's just a header file with | 10 # TODO(joi): This is "ok" temporarily (it's just a header file with |
11 # a large enum, and doesn't bring in any other dependencies on | 11 # a large enum, and doesn't bring in any other dependencies on |
12 # //chrome). The plan of record to get rid of this is to change | 12 # //chrome). The plan of record to get rid of this is to change |
13 # Autofill and WebData to not use NotificationService, and instead | 13 # Autofill and WebData to not use NotificationService, and instead |
14 # use typed callback interfaces or allow registering base::Callback | 14 # use typed callback interfaces or allow registering base::Callback |
15 # callbacks for each event. | 15 # callbacks for each event. |
16 "!chrome/common/chrome_notification_types.h", | 16 "!chrome/common/chrome_notification_types.h", |
17 | 17 |
18 # Permanently-allowed DEPS beyond the standard Browser | |
19 # Components-like DEPS above go here. | |
20 "+third_party/libphonenumber", # For phone number i18n. | |
21 | |
22 # TODO(joi, kaiwang): Bring this list to zero. | 18 # TODO(joi, kaiwang): Bring this list to zero. |
23 "!chrome/browser/api/infobars", | |
24 "!chrome/browser/api/webdata", | 19 "!chrome/browser/api/webdata", |
25 | 20 |
26 # TODO(akalin): Remove this dependency. | 21 # TODO(akalin): Remove this dependency. |
27 "!sync/util/data_encryption_win.h", | 22 "!sync/util/data_encryption_win.h", |
28 ] | 23 ] |
29 | 24 |
30 specific_include_rules = { | 25 specific_include_rules = { |
31 # TODO(joi, kaiwang): Bring this list to zero. | |
32 # | |
33 # Do not add to the list of temporarily-allowed dependencies below, | |
34 # and please do not introduce more #includes of these files. | |
35 '.*_[a-z]*test\.cc': [ | 26 '.*_[a-z]*test\.cc': [ |
| 27 "+content/public/test", |
| 28 |
| 29 # TODO(joi, kaiwang): Bring this list to zero. |
| 30 # |
| 31 # Do not add to the list of temporarily-allowed dependencies below, |
| 32 # and please do not introduce more #includes of these files. |
| 33 "!chrome/browser/autofill/autofill_cc_infobar_delegate.h", |
| 34 "!chrome/browser/autofill/personal_data_manager_factory.h", |
36 "!chrome/browser/api/infobars/confirm_infobar_delegate.h", | 35 "!chrome/browser/api/infobars/confirm_infobar_delegate.h", |
37 "!chrome/browser/api/infobars/infobar_service.h", | 36 "!chrome/browser/api/infobars/infobar_service.h", |
38 "!chrome/browser/password_manager/encryptor.h", | 37 "!chrome/browser/password_manager/encryptor.h", |
39 "!chrome/browser/password_manager/password_manager.h", | 38 "!chrome/browser/password_manager/password_manager.h", |
40 "!chrome/browser/password_manager/password_manager_delegate_impl.h", | 39 "!chrome/browser/password_manager/password_manager_delegate_impl.h", |
41 "!chrome/browser/profiles/profile.h", | 40 "!chrome/browser/profiles/profile.h", |
42 "!chrome/browser/sync/profile_sync_service.h", | 41 "!chrome/browser/sync/profile_sync_service.h", |
43 "!chrome/browser/sync/profile_sync_service_factory.h", | 42 "!chrome/browser/sync/profile_sync_service_factory.h", |
44 "!chrome/browser/translate/translate_infobar_delegate.h", | 43 "!chrome/browser/translate/translate_infobar_delegate.h", |
45 "!chrome/browser/translate/translate_manager.h", | 44 "!chrome/browser/translate/translate_manager.h", |
46 "!chrome/browser/webdata/autofill_web_data_service_impl.h", | 45 "!chrome/browser/webdata/autofill_web_data_service_impl.h", |
47 "!chrome/browser/webdata/web_data_service.h", | 46 "!chrome/browser/webdata/web_data_service.h", |
48 "!chrome/browser/webdata/web_data_service_factory.h", | 47 "!chrome/browser/webdata/web_data_service_factory.h", |
49 "!chrome/browser/ui/autofill/tab_autofill_manager_delegate.h", | 48 "!chrome/browser/ui/autofill/tab_autofill_manager_delegate.h", |
50 "!chrome/browser/ui/browser.h", | 49 "!chrome/browser/ui/browser.h", |
51 "!chrome/browser/ui/browser_tabstrip.h", | 50 "!chrome/browser/ui/browser_tabstrip.h", |
52 "!chrome/browser/ui/browser_window.h", | 51 "!chrome/browser/ui/browser_window.h", |
53 "!chrome/browser/ui/tabs/tab_strip_model.h", | 52 "!chrome/browser/ui/tabs/tab_strip_model.h", |
54 "!chrome/common/chrome_constants.h", | 53 "!chrome/common/chrome_constants.h", |
55 "!chrome/common/chrome_paths.h", | 54 "!chrome/common/chrome_paths.h", |
56 "!chrome/common/pref_names.h", | 55 "!chrome/common/pref_names.h", |
57 "!chrome/common/render_messages.h", | 56 "!chrome/common/render_messages.h", |
58 "!chrome/common/url_constants.h", | 57 "!chrome/common/url_constants.h", |
59 ], | 58 "!chrome/test/base", |
60 | |
61 # TODO(joi): These files will stay in chrome/browser/autofill when | |
62 # the rest move to components/autofill. Fix DEPS once that happens. | |
63 'personal_data_manager_factory\.(h|cc)': [ | |
64 "+chrome/browser/api/sync", | |
65 "+chrome/browser/profiles/profile_dependency_manager.h", | |
66 "+chrome/browser/profiles/profile_keyed_service.h", | |
67 "+chrome/browser/profiles/profile_keyed_service_factory.h", | |
68 "+chrome/browser/profiles/profile.h", | |
69 "+chrome/browser/webdata/web_data_service_factory.h", | |
70 ], | |
71 | |
72 'autofill_cc_infobar_delegate\.(h|cc)': [ | |
73 "!chrome/browser/api/infobars/confirm_infobar_delegate.h", | |
74 "!chrome/browser/api/infobars/infobar_service.h", | |
75 ], | |
76 | |
77 # Android uses Chrome's personal data manager (i.e. the | |
78 # PersonalDataManagerService) and doesn't need to restrict itself to the | |
79 # autofill component. | |
80 'personal_data_manager_android\.cc': [ | |
81 "!chrome/browser/browser_process.h", | |
82 "!chrome/browser/profiles/profile_manager.h", | |
83 ], | 59 ], |
84 } | 60 } |
OLD | NEW |