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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 49253005: Fetch extension blacklist states from SafeBrowsing server (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add unit tests, fix bugs. Created 7 years, 1 month 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/safe_browsing/safe_browsing_service.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
index 8fe5b7dd32b42d77825e8513143a6a8f64f42e57..61e197a55cc8a7de22e8f736982a75aef2b5828d 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -24,6 +24,7 @@
class PrefChangeRegistrar;
class PrefService;
+struct SafeBrowsingProtocolConfig;
class SafeBrowsingDatabaseManager;
class SafeBrowsingPingManager;
class SafeBrowsingProtocolManager;
@@ -79,6 +80,9 @@ class SafeBrowsingService
// should be calculated for safebrowsing.
bool DownloadBinHashNeeded() const;
+ // Create a protocol config struct.
+ SafeBrowsingProtocolConfig GetProtocolConfig() const;
+
bool enabled() const { return enabled_; }
safe_browsing::ClientSideDetectionService*

Powered by Google App Engine
This is Rietveld 408576698