# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("bandwidth") {
sources = [
"bandwidth_management_table_view_controller.h",
"bandwidth_management_table_view_controller.mm",
"dataplan_usage_table_view_controller+Testing.h",
"dataplan_usage_table_view_controller.h",
"dataplan_usage_table_view_controller.mm",
]
deps = [
"//base",
"//components/prefs",
"//components/prefs/ios",
"//ios/chrome/app/strings",
"//ios/chrome/browser/net/model:crurl",
"//ios/chrome/browser/prerender/model:prerender_pref",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/shared/ui/table_view:styler",
"//ios/chrome/browser/shared/ui/table_view:utils",
"//ios/chrome/browser/shared/ui/table_view/cells",
"//ios/chrome/browser/shared/ui/util",
"//ios/chrome/browser/ui/settings:constants",
"//ios/chrome/browser/ui/settings:settings_root",
"//ui/base",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"bandwidth_management_table_view_controller_unittest.mm",
"dataplan_usage_table_view_controller_unittest.mm",
]
deps = [
":bandwidth",
"//base",
"//base/test:test_support",
"//components/pref_registry",
"//components/prefs:test_support",
"//components/sync_preferences",
"//components/sync_preferences:test_support",
"//ios/chrome/app/strings",
"//ios/chrome/browser/prerender/model:prerender_pref",
"//ios/chrome/browser/shared/model/prefs:browser_prefs",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/shared/ui/table_view",
"//ios/chrome/browser/shared/ui/table_view:test_support",
"//ios/chrome/test:test_support",
"//ios/web/public/test",
"//testing/gmock",
"//testing/gtest",
"//ui/base",
]
}