OLD | NEW |
| (Empty) |
1 include_rules = [ | |
2 # Autofill is being made into a component (it will end up at | |
3 # //components/autofill and not depend on //chrome), so we have | |
4 # these basic rules followed by temporary exceptions. Please don't | |
5 # add to the list of exceptions! | |
6 "-chrome/browser", | |
7 "-chrome/common", | |
8 "+chrome/browser/autofill", | |
9 | |
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 | |
12 # //chrome). The plan of record to get rid of this is to change | |
13 # Autofill and WebData to not use NotificationService, and instead | |
14 # use typed callback interfaces or allow registering base::Callback | |
15 # callbacks for each event. | |
16 "!chrome/common/chrome_notification_types.h", | |
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. | |
23 "!chrome/browser/api/infobars", | |
24 "!chrome/browser/api/webdata", | |
25 | |
26 # TODO(akalin): Remove this dependency. | |
27 "!sync/util/data_encryption_win.h", | |
28 ] | |
29 | |
30 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': [ | |
36 "!chrome/browser/api/infobars/confirm_infobar_delegate.h", | |
37 "!chrome/browser/api/infobars/infobar_service.h", | |
38 "!chrome/browser/password_manager/encryptor.h", | |
39 "!chrome/browser/password_manager/password_manager.h", | |
40 "!chrome/browser/password_manager/password_manager_delegate_impl.h", | |
41 "!chrome/browser/profiles/profile.h", | |
42 "!chrome/browser/sync/profile_sync_service.h", | |
43 "!chrome/browser/sync/profile_sync_service_factory.h", | |
44 "!chrome/browser/translate/translate_infobar_delegate.h", | |
45 "!chrome/browser/translate/translate_manager.h", | |
46 "!chrome/browser/webdata/autofill_web_data_service_impl.h", | |
47 "!chrome/browser/webdata/web_data_service.h", | |
48 "!chrome/browser/webdata/web_data_service_factory.h", | |
49 "!chrome/browser/ui/autofill/tab_autofill_manager_delegate.h", | |
50 "!chrome/browser/ui/browser.h", | |
51 "!chrome/browser/ui/browser_tabstrip.h", | |
52 "!chrome/browser/ui/browser_window.h", | |
53 "!chrome/browser/ui/tabs/tab_strip_model.h", | |
54 "!chrome/common/chrome_constants.h", | |
55 "!chrome/common/chrome_paths.h", | |
56 "!chrome/common/pref_names.h", | |
57 "!chrome/common/render_messages.h", | |
58 "!chrome/common/url_constants.h", | |
59 ], | |
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 ], | |
84 } | |
OLD | NEW |