1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
include_rules = [
# Autofill is being made into a Browser Component, so we have these basic
# rules followed by temporary exceptions. Please don't add to the list of
# exceptions!
"-chrome/browser",
"+chrome/browser/api",
"+chrome/browser/autofill",
"+chrome/browser/common",
"+chrome/browser/ui/autofill",
# Permanently-allowed DEPS beyond the standard Browser
# Components-like DEPS above go here.
"+third_party/libphonenumber", # For phone number i18n.
"+chrome/browser/prefs",
# TODO(joi): May be able to remove this if PKS is moved to c/b/api.
"!chrome/browser/profiles/profile_keyed_service.h",
# TODO(akalin): Remove this dependency.
"!sync/util/data_encryption_win.h",
]
specific_include_rules = {
# TODO(joi): Bring this list to zero.
#
# Do not add to the list of temporarily-allowed dependencies below,
# and please do not introduce more #includes of these files.
'.*_[a-z]*test\.cc': [
"!chrome/browser/password_manager/encryptor.h",
"!chrome/browser/password_manager/password_manager.h",
"!chrome/browser/password_manager/password_manager_delegate_impl.h",
"!chrome/browser/profiles/profile.h",
"!chrome/browser/sync/profile_sync_service.h",
"!chrome/browser/sync/profile_sync_service_factory.h",
"!chrome/browser/translate/translate_infobar_delegate.h",
"!chrome/browser/translate/translate_manager.h",
"!chrome/browser/webdata/autofill_web_data_service_impl.h",
"!chrome/browser/webdata/web_data_service.h",
"!chrome/browser/webdata/web_data_service_factory.h",
"!chrome/browser/ui/autofill/tab_autofill_manager_delegate.h",
"!chrome/browser/ui/browser.h",
"!chrome/browser/ui/browser_tabstrip.h",
"!chrome/browser/ui/browser_window.h",
"!chrome/browser/ui/tabs/tab_strip_model.h",
],
# TODO(joi): Remove these dependencies once the Prefs refactoring is complete.
'fingerprint\.cc': [
"!chrome/browser/browser_process.h",
],
# TODO(joi): May be able to get rid of the need for this by moving
# PersonalDataManagerFactory to chrome/browser/profiles.
'personal_data_manager_factory\.(h|cc)': [
"!chrome/browser/profiles/profile_dependency_manager.h",
"!chrome/browser/profiles/profile_keyed_service_factory.h",
"!chrome/browser/profiles/profile.h",
"!chrome/browser/webdata/web_data_service_factory.h",
],
}
|