# 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("model") {
sources = [
"screenshot_delegate.h",
"screenshot_delegate.mm",
"screenshot_metrics_recorder.h",
"screenshot_metrics_recorder.mm",
]
deps = [
"//base",
"//ios/chrome/browser/main/model",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/ui/main",
"//ios/web/public",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"screenshot_delegate_unittest.mm",
"screenshot_metrics_recorder_unittest.mm",
]
deps = [
":model",
"//base",
"//base/test:test_support",
"//ios/chrome/browser/shared/coordinator/scene/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/browser/ui/main",
"//ios/chrome/test:test_support",
"//ios/web/public/test",
"//third_party/ocmock",
]
}