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

Unified Diff: chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h

Issue 586793003: Safebrowsing: Honor the metadata from malware fullhash results in SB API 3.0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes for sky Created 6 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/renderer_host/safe_browsing_resource_throttle_factory.h
diff --git a/chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h b/chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h
index 4c1821e0b2bee8be2bc222cc0c6f0fac545feedd..9786850cb61d33a6dad1dabbc290fc9bea0b286c 100644
--- a/chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h
+++ b/chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_RENDERER_HOST_SAFE_BROWSING_RESOURCE_THROTTLE_FACTORY_H_
#include "base/basictypes.h"
+#include "content/public/common/resource_type.h"
class SafeBrowsingService;
@@ -32,7 +33,7 @@ class SafeBrowsingResourceThrottleFactory {
static content::ResourceThrottle* Create(
net::URLRequest* request,
content::ResourceContext* resource_context,
- bool is_subresource,
+ content::ResourceType resource_type,
SafeBrowsingService* service);
protected:
@@ -42,7 +43,7 @@ class SafeBrowsingResourceThrottleFactory {
virtual content::ResourceThrottle* CreateResourceThrottle(
net::URLRequest* request,
content::ResourceContext* resource_context,
- bool is_subresource,
+ content::ResourceType resource_type,
SafeBrowsingService* service) = 0;
private:

Powered by Google App Engine
This is Rietveld 408576698