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

Unified Diff: components/safe_browsing/BUILD.gn

Issue 2876473003: [ABANDONED] [WIP] Refactor SafeBrowsingResourceThrottle in preparation for WebSocket (Closed)
Patch Set: Minor fixes Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/safe_browsing/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing/BUILD.gn
diff --git a/components/safe_browsing/BUILD.gn b/components/safe_browsing/BUILD.gn
index 06bf6321c2cb6350a0f1e5999aa1e0fddfe12017..6aed899e381eaf69d8127b995dcb328eb2e5e35b 100644
--- a/components/safe_browsing/BUILD.gn
+++ b/components/safe_browsing/BUILD.gn
@@ -14,10 +14,12 @@ source_set("safe_browsing") {
sources = [
"base_blocking_page.cc",
"base_blocking_page.h",
- "base_resource_throttle.cc",
- "base_resource_throttle.h",
"base_ui_manager.cc",
"base_ui_manager.h",
+ "request_checker.cc",
+ "request_checker.h",
+ "resource_throttle.cc",
+ "resource_throttle.h",
]
deps = [
@@ -68,3 +70,23 @@ source_set("base_ping_manager_unittest") {
"//testing/gtest",
]
}
+
+source_set("request_checker_unittest") {
+ testonly = true
+ sources = [
+ "request_checker_unittest.cc",
+ ]
+
+ deps = [
+ ":safe_browsing",
+ "//base:base",
+ "//components/safe_browsing_db:database_manager",
+ "//components/safe_browsing_db:hit_report",
+ "//components/security_interstitials/content:security_interstitial_page",
+ "//content/public/common:common",
+ "//content/test:test_support",
+ "//net:net",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/safe_browsing/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698