# Copyright 2020 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("browser_agent") {
public = [ "infobar_overlay_browser_agent.h" ]
sources = [ "infobar_overlay_browser_agent.mm" ]
deps = [
"//base",
"//ios/chrome/browser/badges/ui_bundled:public",
"//ios/chrome/browser/badges/ui_bundled:util",
"//ios/chrome/browser/infobars/model:public",
"//ios/chrome/browser/infobars/model/overlays",
"//ios/chrome/browser/infobars/model/overlays:util",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/default",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/common/infobars",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/shared/model/browser",
]
}
source_set("browser_agent_util") {
sources = [
"infobar_overlay_browser_agent_util.h",
"infobar_overlay_browser_agent_util.mm",
]
deps = [
":browser_agent",
"//base",
"//components/safe_browsing/core/common",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/autofill_address_profile",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/confirm",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/shared/model/browser",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "infobar_overlay_browser_agent_unittest.mm" ]
deps = [
":browser_agent",
"//base/test:test_support",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/infobars/model:public",
"//ios/chrome/browser/infobars/model/overlays:overlay_type",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/test",
"//ios/chrome/browser/infobars/model/test",
"//ios/chrome/browser/main/model",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/common/infobars",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/overlays/model/test",
"//ios/chrome/browser/shared/model/browser/test:test_support",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/test:test_support",
"//ios/web/public/test",
"//ios/web/public/test/fakes",
"//testing/gmock",
"//testing/gtest",
]
}