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

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

Issue 2146703002: Sample 1% url whitelisted PPAPI downloads to ping safe browsing server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: refactor unit tests Created 4 years, 5 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 | « chrome/browser/file_select_helper.cc ('k') | chrome/browser/safe_browsing/download_protection_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 51bb0aac05e0771e427e43609204555fb409b3d6..07deedd23d1fd9a205259583cc6012940913e796 100644
--- a/chrome/browser/safe_browsing/download_protection_service.h
+++ b/chrome/browser/safe_browsing/download_protection_service.h
@@ -28,7 +28,6 @@
#include "net/url_request/url_request_context_getter.h"
#include "url/gurl.h"
-
namespace content {
class DownloadItem;
class PageNavigator;
@@ -38,6 +37,8 @@ namespace net {
class X509Certificate;
} // namespace net
+class Profile;
+
namespace safe_browsing {
class BinaryFeatureExtractor;
class ClientDownloadRequest;
@@ -115,6 +116,7 @@ class DownloadProtectionService {
const GURL& requestor_url,
const base::FilePath& default_file_path,
const std::vector<base::FilePath::StringType>& alternate_extensions,
+ Profile* profile,
const CheckDownloadCallback& callback);
// Display more information to the user regarding the download specified by
« no previous file with comments | « chrome/browser/file_select_helper.cc ('k') | chrome/browser/safe_browsing/download_protection_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698