1234567891011121314151617181920212223242526272829303132 |
- # Copyright 2020 The Chromium Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
- source_set("metrics") {
- sources = [
- "domain_diversity_reporter.cc",
- "domain_diversity_reporter.h",
- ]
- deps = [
- "//base",
- "//components/history/core/browser",
- "//components/pref_registry",
- "//components/prefs",
- ]
- }
- source_set("unit_tests") {
- testonly = true
- sources = [ "domain_diversity_reporter_unittest.cc" ]
- deps = [
- ":metrics",
- "//base",
- "//base/test:test_support",
- "//components/history/core/browser",
- "//components/history/core/test",
- "//components/sync_preferences:test_support",
- "//testing/gtest",
- ]
- }
|