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

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

Issue 2377273004: Reland: Start checking URLs using PVer4. Verdict not returned to client yet. (Closed)
Patch Set: Remove #DEBUG -- it enables these features on Android :-( 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
« no previous file with comments | « no previous file | chrome/browser/loader/safe_browsing_resource_throttle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ba7924fbb149fc07d4a8dbdc55fb4b333c18fec5 100644
--- a/chrome/browser/loader/safe_browsing_resource_throttle.h
+++ b/chrome/browser/loader/safe_browsing_resource_throttle.h
@@ -19,6 +19,7 @@
#include "content/public/common/resource_type.h"
#include "net/log/net_log.h"
#include "net/log/net_log_event_type.h"
+#include "url/gurl.h"
class ResourceDispatcherHost;
@@ -26,6 +27,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 +183,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);
};
« no previous file with comments | « no previous file | chrome/browser/loader/safe_browsing_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698