summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/DEPS
blob: 0fb9b536316bfb93800fd0840c0f7ca74e99909c (plain)
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
62
63
64
include_rules = [
  # Autofill is being made into a Browser Component, so we have these
  # three 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",

  # Permanently-allowed DEPS beyond the standard Browser
  # Components-like DEPS above go here.
  "+third_party/libphonenumber",  # For phone number i18n.

  # 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.

  # Moving to api
  "!chrome/browser/profiles/profile_keyed_service.h",

  # Will go when PersonalDataManagerFactory moves to c/b/configuration.
  "!chrome/browser/profiles/profile_dependency_manager.h",
  "!chrome/browser/profiles/profile_keyed_service_factory.h",

  "!chrome/browser/ui/tab_contents/tab_contents.h",

  # Do not add to the list of temporarily-allowed dependencies above,
  # and please do not introduce more #includes of these files.

  # 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/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/tab_contents/tab_autofill_manager_delegate.h",
    "!chrome/browser/ui/tab_contents/test_tab_contents.h",
  ],

  # TODO(joi): Get rid of the need for this by moving
  # PersonalDataManagerFactory to chrome/browser/configuration.
  'personal_data_manager_factory\.cc': [
    "!chrome/browser/profiles/profile.h",
    "!chrome/browser/webdata/web_data_service_factory.h",
  ],
}