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

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

Issue 10907225: Add API keys to SafeBrowsing client-side phishing and download verdict requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/safe_browsing/download_protection_service.h
diff --git a/chrome/browser/safe_browsing/download_protection_service.h b/chrome/browser/safe_browsing/download_protection_service.h
index cf54ca4dfc1d3142372b6674372605827ad1e1dd..9047a3487003fac9085f45773f061ffc0aebeb62 100644
--- a/chrome/browser/safe_browsing/download_protection_service.h
+++ b/chrome/browser/safe_browsing/download_protection_service.h
@@ -178,6 +178,9 @@ class DownloadProtectionService {
const net::X509Certificate& issuer,
std::vector<std::string>* whitelist_strings);
+ // Returns the URL that will be used for download requests.
+ static std::string GetDownloadRequestUrl();
+
// This pointer may be NULL if SafeBrowsing is disabled. The
// SafeBrowsingService owns us, so we don't need to hold a reference to it.
SafeBrowsingService* sb_service_;

Powered by Google App Engine
This is Rietveld 408576698