[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / bookmarks / DEPS
blob2f599a7e3465d3a2fe7a0b7e66b44584b240071d
1 include_rules = [
2   # Bookmarks is being made into a component (it will end up at
3   # //components/bookmarks and not depend on //chrome), so we have these basic
4   # rules followed by temporary exceptions.  Please don't add to the list of
5   # exceptions!
6   "-chrome/browser",
7   "+chrome/browser/bookmarks",
8   "+chrome/browser/favicon",
9   "+chrome/browser/chrome_notification_types.h",
10   "+chrome/browser/undo/bookmark_undo_service.h",
11   "+chrome/browser/undo/bookmark_undo_service_factory.h",
13   # TODO(tfarina): Bring this list to zero. crbug.com/144783
14   # Do not add to the list of temporarily-allowed dependencies below,
15   # and please do not introduce more #includes of these files.
16   "!chrome/browser/history/history_service.h",
17   "!chrome/browser/history/history_service_factory.h",
18   "!chrome/browser/history/url_database.h",
19   "!chrome/browser/omnibox/omnibox_field_trial.h",
20   "!chrome/browser/profiles/incognito_helpers.h",
21   "!chrome/browser/profiles/profile.h",
22   "!chrome/browser/profiles/startup_task_runner_service.h",
23   "!chrome/browser/profiles/startup_task_runner_service_factory.h",
24   # Do not add to the list of temporarily-allowed dependencies above,
25   # and please do not introduce more #includes of these files.
28 specific_include_rules = {
29   # For unit tests, it's fine to include utility process code.
30   '.*test\.cc': [
31     "!chrome/test/base/testing_profile.h",
32     "+chrome/utility/importer/bookmark_html_reader.h",
33   ],