Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: components/safe_browsing/renderer/BUILD.gn

Issue 2952583002: SafeBrowsing support for WebSocket (post-network-servicification) (Closed)
Patch Set: Remove useless DCHECKs Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 source_set("renderer") { 7 source_set("renderer") {
8 if (safe_browsing_mode != 0) { 8 if (safe_browsing_mode != 0) {
9 sources = [ 9 sources = [
10 "threat_dom_details.cc", 10 "threat_dom_details.cc",
11 "threat_dom_details.h", 11 "threat_dom_details.h",
12 ] 12 ]
13 deps = [ 13 deps = [
14 "//base", 14 "//base",
15 "//components/safe_browsing/common:common", 15 "//components/safe_browsing/common:common",
16 "//content/public/renderer", 16 "//content/public/renderer",
17 "//ipc", 17 "//ipc",
18 "//third_party/WebKit/public:blink", 18 "//third_party/WebKit/public:blink",
19 "//url/ipc:url_ipc", 19 "//url/ipc:url_ipc",
20 ] 20 ]
21 } 21 }
22 } 22 }
23
24 source_set("websocket_sb_handshake_throttle") {
25 sources = [
26 "websocket_sb_handshake_throttle.cc",
27 "websocket_sb_handshake_throttle.h",
28 ]
29
30 deps = [
31 "//base:base",
32 "//components/safe_browsing/common:interfaces",
33 "//content/public/common:common",
34 "//content/public/renderer:renderer",
35 "//ipc",
36 "//services/service_manager/public/cpp:cpp",
37 "//third_party/WebKit/public:blink",
38 "//url:url",
39 ]
40 }
41
42 source_set("websocket_sb_handshake_throttle_unittest") {
43 testonly = true
44 sources = [
45 "websocket_sb_handshake_throttle_unittest.cc",
46 ]
47
48 deps = [
49 ":websocket_sb_handshake_throttle",
50 "//base:base",
51 "//base/test:test_support",
52 "//components/safe_browsing/common:interfaces",
53 "//ipc",
54 "//testing/gmock",
55 "//testing/gtest",
56 "//third_party/WebKit/public:blink",
57 ]
58 }
OLDNEW
« no previous file with comments | « chrome/test/data/safe_browsing/malware_websocket.html ('k') | components/safe_browsing/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698