summaryrefslogtreecommitdiffstats
path: root/components/autofill/browser/DEPS
blob: d513e2b5c4edce50d1cd278accbd717132d6de5f (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
include_rules = [
  "+components/webdata/common",
  "+content/public/browser",
  "+crypto/random.h",
  "+google_apis/gaia",
  "+google_apis/google_api_keys.h",
  "+net",
  "+sql",
  "+third_party/libjingle",
  "+third_party/libphonenumber",  # For phone number i18n.
  "+webkit/plugins/webplugininfo.h",

  # TODO(joi): This is "ok" temporarily (it's just a header file with
  # a large enum, and doesn't bring in any other dependencies on
  # //chrome). The plan of record to get rid of this is to change
  # Autofill and WebData to not use NotificationService, and instead
  # use typed callback interfaces or allow registering base::Callback
  # callbacks for each event.
  "!chrome/common/chrome_notification_types.h",

  # TODO(akalin): Remove this dependency.
  "!sync/util/data_encryption_win.h",
]

specific_include_rules = {
  '.*_[a-z]*test\.cc': [
    "+content/public/test",

    # TODO(joi, kaiwang): 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.
    "!chrome/browser/api/infobars/confirm_infobar_delegate.h",
    "!chrome/browser/api/infobars/infobar_service.h",
    "!chrome/browser/autofill/autofill_cc_infobar_delegate.h",
    "!chrome/browser/autofill/personal_data_manager_factory.h",
    "!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/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",
    "!chrome/browser/webdata/web_data_service.h",
    "!chrome/browser/webdata/web_data_service_factory.h",
    "!chrome/browser/webdata/web_data_service_test_util.h",
    "!chrome/common/chrome_constants.h",
    "!chrome/common/chrome_paths.h",
    "!chrome/common/pref_names.h",
    "!chrome/common/render_messages.h",
    "!chrome/common/url_constants.h",
    "!chrome/test/base",
  ],
}