Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / webdata / DEPS
blob1a1711fdd8f1596846adb5438ea9bbf1ea9339a9
1 include_rules = [
2   # Much of WebData is being broken off and moved into a component
3   # under //components/webdata, that does not depend on //chrome), so
4   # we have these basic rules followed by temporary exceptions.
5   # Please don't add to the list of exceptions!
6   "-chrome/browser",
7   "-chrome/common",
8   "+chrome/browser/webdata",
10   # TODO(caitkp, kaiwang): Bring this list to zero.
11   # Do not add to the list of temporarily-allowed dependencies below,
12   # and please do not introduce more #includes of these files.
13   "!chrome/browser/history/history_database.h",
15   # TODO(caitkp): Remove this, at slightly lower priority - this is
16   # just a set of header-only enums, so we can live with it
17   # temporarily even after we componentize.
18   "!chrome/common/chrome_notification_types.h",
21 specific_include_rules = {
22   # These files are staying in //chrome, so no need to restrict.
23   r"((autocomplete|autofill_profile)_syncable_service|web_data_service(_win)?(_factory)?)(_unittest)?\.(cc|h)": [
24     "+chrome/browser",
25     "+chrome/common",
26   ],
28   # TODO(joi): Move sign-in related files to //components. For now,
29   # use these rules to prevent regressions.
30   r"^logins_.*": [
31     "-chrome/browser/webdata",
32     "+chrome/browser/webdata/logins_table.h",
33   ],
35   # TODO(caitkp): Componentize all the different tables. For now, we
36   # write these rules so they don't add bad dependencies.
37   r"^[a-z_]+_table(_unittest|_win)?\.(cc|h)": [
38     "!chrome/browser/history/history_database.h",
39     "!chrome/browser/search_engines/search_terms_data.h",
40     "!chrome/browser/search_engines/template_url.h",
41     "!chrome/browser/search_engines/template_url_id.h",
42     "!chrome/browser/search_engines/template_url_service.h",
43   ],
45   # TODO(caitkp): Extract unit tests from //chrome, at lower priority
46   # than production code.
47   r"(.*_unittest|.*_test_util)\.(cc|h)": [
48     "+chrome/browser/webdata/token_web_data.h",
49     "+chrome/browser/webdata/web_data_service.h",
50     "+chrome/browser/webdata/web_data_service_factory.h",
51   ],