1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 2017 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.
import("//build/config/features.gni")
import("//build/config/jumbo.gni")
assert(!is_ios, "Policy Throttle should not be referenced on iOS")
jumbo_source_set("content") {
sources = [
"policy_blacklist_navigation_throttle.cc",
"policy_blacklist_navigation_throttle.h",
"policy_blacklist_service.cc",
"policy_blacklist_service.h",
]
deps = [
"//base",
"//components/keyed_service/content:content",
"//components/policy/core/browser",
"//components/prefs",
"//components/safe_search_api",
"//components/safe_search_api:safe_search_client",
"//components/user_prefs:user_prefs",
"//content/public/browser",
"//net",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "policy_blacklist_navigation_throttle_unittest.cc" ]
deps = [
":content",
"//base",
"//components/keyed_service/content",
"//components/policy/core/browser",
"//components/safe_search_api",
"//components/safe_search_api:safe_search_client",
"//components/safe_search_api:test_support",
"//components/sync_preferences:test_support",
"//components/user_prefs:user_prefs",
"//content/public/browser",
"//content/test:test_support",
"//testing/gtest",
"//url",
]
}
|