chromium/ios/chrome/browser/metrics/model/DEPS

include_rules = [
  "+ios/chrome/browser/content_settings/model",
  "+ios/chrome/browser/history/model",
  "+ios/chrome/browser/sync/model",
  "+ios/chrome/browser/sessions/model",
  "+ios/chrome/browser/shared/ui/util/uikit_ui_util.h",
  "+ios/chrome/browser/prerender/model",
  "+ios/chrome/browser/variations/model",
  "+ios/chrome/browser/crash_report/model",
  "+ios/chrome/browser/voice/model",
  "+ios/chrome/browser/tabs/model",
  "+ios/chrome/browser/translate/model",
  "+ios/chrome/browser/web_state_list/model/session_metrics.h",
  "+ios/chrome/browser/signin/model",
  "+ios/chrome/browser/supervised_user/model",
  "+ios/chrome/browser/push_notification/model",
  "+ios/chrome/browser/parcel_tracking",
]

specific_include_rules = {
  # web::HttpServer is deprecated in favor of net::EmbeddedTestServer.
  # TODO:(crbug.com/891834) Remove this exception.
  "tab_usage_recorder_egtest\.mm": [
    "+ios/web/public/test/http_server",
  ],

  # TODO(crbug.com/359199652): FeedActivityBucket should be usable by both
  # the model and the UI, so should be in ios/chrome/browser/ntp/shared.
  "ios_feed_activity_metrics_provider.*\.mm": [
    "+ios/chrome/browser/ntp/shared/metrics/feed_metrics_constants.h",
  ],

  "metrics_app_interface\.mm": [
    "+third_party/zlib/google/compression_utils.h",
  ],
  "ios_feed_enabled_metrics_provider.mm": [
    "+components/feed/core/shared_prefs/pref_names.h",
    "+ios/chrome/browser/ntp/ui_bundled/new_tab_page_feature.h",
  ],
  "ios_feed_enabled_metrics_provider_unittest.mm": [
    "+components/feed/core/shared_prefs/pref_names.h",
  ],

  # TODO(crbug.com/40820398): Remove these dependencies.
  "^incognito_usage_app_state_agent.mm": [
    "+ios/chrome/browser/shared/coordinator/scene/scene_state.h",
  ],
  "^ios_chrome_default_browser_metrics_provider.mm": [
    "+ios/chrome/browser/default_browser/model/utils.h",
    "+ios/chrome/browser/default_promo/ui_bundled/default_browser_utils.h",
  ],
  "^ios_chrome_metrics_service_client.mm": [
    "+ios/chrome/browser/overscroll_actions/ui_bundled/overscroll_actions_controller.h",
  ],

  # TODO(crbug.com/40820398): Remove this dependency.
  "^web_state_list_metrics_browser_agent.mm": [
    "+ios/chrome/browser/shared/ui/util",
  ],
}