# Copyright 2018 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. static_library("unified_consent") { sources = [ "pref_names.cc", "pref_names.h", "unified_consent_metrics.cc", "unified_consent_metrics.h", "unified_consent_service.cc", "unified_consent_service.h", "url_keyed_data_collection_consent_helper.cc", "url_keyed_data_collection_consent_helper.h", ] deps = [ "//base", "//components/autofill/core/common", "//components/browser_sync", "//components/pref_registry", "//components/prefs", "//components/signin/public/identity_manager", "//components/sync", "//components/sync_preferences", ] } source_set("unit_tests") { testonly = true sources = [ "unified_consent_service_unittest.cc", "url_keyed_data_collection_consent_helper_unittest.cc", ] deps = [ ":unified_consent", "//base/test:test_support", "//build:chromeos_buildflags", "//components/signin/public/identity_manager:test_support", "//components/sync:test_support", "//components/sync_preferences:test_support", "//testing/gtest", ] }