# Copyright 2019 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("save_card") {
sources = [
"save_card_infobar_banner_overlay_mediator.h",
"save_card_infobar_banner_overlay_mediator.mm",
]
deps = [
"//base",
"//components/autofill/core/browser",
"//ios/chrome/app/strings",
"//ios/chrome/browser/autofill/model/credit_card:infobar_delegate",
"//ios/chrome/browser/infobars/model/overlays:util",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/default",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/overlays/model/public/infobar_modal",
"//ios/chrome/browser/overlays/ui_bundled:coordinators",
"//ios/chrome/browser/overlays/ui_bundled/infobar_banner:mediators",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/browser/ui/infobars/banners",
"//ui/base",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "save_card_infobar_banner_overlay_mediator_unittest.mm" ]
deps = [
":save_card",
"//base/test:test_support",
"//components/autofill/core/browser",
"//components/autofill/core/browser:test_support",
"//components/infobars/core",
"//components/prefs",
"//components/signin/public/identity_manager",
"//ios/chrome/browser/autofill/model/credit_card:infobar_delegate",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/infobars/model:public",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/test",
"//ios/chrome/browser/infobars/model/test",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/default",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/overlays/model/public/infobar_modal",
"//ios/chrome/browser/overlays/model/test",
"//ios/chrome/browser/overlays/ui_bundled/test",
"//ios/chrome/browser/ui/infobars/banners",
"//ios/chrome/browser/ui/infobars/banners/test",
"//ios/chrome/browser/ui/infobars/test",
"//testing/gmock",
"//testing/gtest",
"//third_party/ocmock",
"//ui/base",
]
}