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

Unified Diff: chrome/browser/loader/safe_browsing_resource_throttle.h

Issue 2371043003: Small: Start checking URLs using PVer4. Verdict not returned to client yet. (Closed)
Patch Set: shess@'s review Created 4 years, 3 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
Index: chrome/browser/loader/safe_browsing_resource_throttle.h
diff --git a/chrome/browser/loader/safe_browsing_resource_throttle.h b/chrome/browser/loader/safe_browsing_resource_throttle.h
index 017a7098f3e4803aa54ad270176bad5e69bb19f5..42dcf2b5c2a3e6e51fdab78c7f9c6c0b78a37e50 100644
--- a/chrome/browser/loader/safe_browsing_resource_throttle.h
+++ b/chrome/browser/loader/safe_browsing_resource_throttle.h
@@ -26,6 +26,10 @@ namespace net {
class URLRequest;
}
+namespace safe_browsing {
+class V4LocalDatabaseManager;
+}
+
// SafeBrowsingResourceThrottle checks that URLs are "safe" before
// navigating to them. To be considered "safe", a URL must not appear in the
// malware/phishing blacklists (see SafeBrowsingService for details).
@@ -178,6 +182,8 @@ class SafeBrowsingResourceThrottle
const net::URLRequest* request_;
const content::ResourceType resource_type_;
net::NetLogWithSource net_log_with_source_;
+ scoped_refptr<safe_browsing::V4LocalDatabaseManager>
+ v4_local_database_manager_;
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingResourceThrottle);
};

Powered by Google App Engine
This is Rietveld 408576698