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

Unified Diff: components/safe_browsing/base_safe_browsing_resource_throttle.h

Issue 2616653002: Have a list of pending checks instead of pending clients (Closed)
Patch Set: git rebase manually! ugh. Created 3 years, 11 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 | « no previous file | components/safe_browsing/base_safe_browsing_resource_throttle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing/base_safe_browsing_resource_throttle.h
diff --git a/components/safe_browsing/base_safe_browsing_resource_throttle.h b/components/safe_browsing/base_safe_browsing_resource_throttle.h
index 858f67eaae8bc6aecc233ba42cdd911ba94d91f0..4cd18ca650fe91cc9dc4193d4c1f74b32f4e49aa 100644
--- a/components/safe_browsing/base_safe_browsing_resource_throttle.h
+++ b/components/safe_browsing/base_safe_browsing_resource_throttle.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_SAFE_BROWSING_BASE_SAFE_BROWSING_RESOURCE_THROTTLE_H_
#define COMPONENTS_SAFE_BROWSING_BASE_SAFE_BROWSING_RESOURCE_THROTTLE_H_
+#include <set>
#include <string>
#include <vector>
@@ -172,6 +173,11 @@ class BaseSafeBrowsingResourceThrottle
const content::ResourceType resource_type_;
net::NetLogWithSource net_log_with_source_;
+ // TODO(vakh): The following set should be removed after fixing
+ // http://crbug.com/660293
+ // URLs that timed out waiting for a SafeBrowsing reputation check.
+ std::set<GURL> timed_out_urls_;
+
DISALLOW_COPY_AND_ASSIGN(BaseSafeBrowsingResourceThrottle);
};
« no previous file with comments | « no previous file | components/safe_browsing/base_safe_browsing_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698