# 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("confirm") {
sources = [
"confirm_infobar_banner_interaction_handler.h",
"confirm_infobar_banner_interaction_handler.mm",
]
deps = [
"//base",
"//ios/chrome/browser/infobars/model",
"//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/common",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/overlays/model/public/infobar_modal",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/public/commands",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "confirm_infobar_banner_interaction_handler_unittest.mm" ]
deps = [
":confirm",
"//base/test:test_support",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/infobars/model:public",
"//ios/chrome/browser/infobars/model/overlays",
"//ios/chrome/browser/infobars/model/test",
"//ios/chrome/browser/overlays/model",
"//ios/web/public/test/fakes",
"//testing/gtest",
]
}