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

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

Issue 8459001: Extract the certificate to use in the download protection pingback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Merge and fix test Created 9 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/download_protection_service.h
===================================================================
--- chrome/browser/safe_browsing/download_protection_service.h (revision 108613)
+++ chrome/browser/safe_browsing/download_protection_service.h (working copy)
@@ -28,6 +28,7 @@
class SafeBrowsingService;
namespace safe_browsing {
+class SignatureUtil;
// This class provides an asynchronous API to check whether a particular
// client download is malicious or not.
@@ -141,6 +142,9 @@
// Keeps track of the state of the service.
bool enabled_;
+ // SignatureUtil object, may be overridden for testing.
+ scoped_refptr<SignatureUtil> signature_util_;
+
DISALLOW_COPY_AND_ASSIGN(DownloadProtectionService);
};
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698