# Copyright 2024 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("model") {
sources = [
"about_this_site_service_factory.h",
"about_this_site_service_factory.mm",
"about_this_site_tab_helper.h",
"about_this_site_tab_helper.mm",
]
deps = [
"//components/keyed_service/ios:ios",
"//components/optimization_guide/core",
"//components/page_info/core:core",
"//components/page_info/core:proto",
"//ios/chrome/browser/optimization_guide/model:model",
"//ios/chrome/browser/search_engines/model:template_url_service_factory",
"//ios/chrome/browser/shared/model/application_context",
"//ios/chrome/browser/shared/model/browser_state:browser_state",
"//ios/chrome/browser/shared/model/profile",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "about_this_site_tab_helper_unittest.mm" ]
deps = [
":model",
"//base/test:test_support",
"//components/optimization_guide/core:features",
"//components/optimization_guide/core:test_support",
"//components/page_info/core:proto",
"//ios/chrome/browser/optimization_guide/model",
"//ios/chrome/browser/optimization_guide/model:unit_tests",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/web/public/test:test",
]
}