| # Copyright 2024 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("prefs") { |
| sources = [ |
| "preloading_prefs.cc", |
| "preloading_prefs.h", |
| ] |
| |
| public_deps = [ "//content/public/browser" ] |
| |
| deps = [ |
| "//chrome/browser/battery", |
| "//chrome/browser/data_saver", |
| "//chrome/browser/prefetch", |
| "//components/pref_registry", |
| "//components/prefs", |
| ] |
| } |
| |
| source_set("test_support") { |
| testonly = true |
| |
| sources = [ |
| "scoped_prewarm_feature_list.cc", |
| "scoped_prewarm_feature_list.h", |
| ] |
| |
| public_deps = [ |
| "//base/test:test_support", |
| "//url", |
| ] |
| |
| # TODO(crbug.com/408146612): Revisit this when preloading_features.h moves |
| # into this file. |
| deps = [ "//chrome/browser" ] |
| } |