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

Unified Diff: chrome/browser/loader/safe_browsing_resource_throttle.h

Issue 2626153003: [M56] Have a list of pending checks instead of pending clients (Closed)
Patch Set: 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 | chrome/browser/loader/safe_browsing_resource_throttle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/loader/safe_browsing_resource_throttle.h
diff --git a/chrome/browser/loader/safe_browsing_resource_throttle.h b/chrome/browser/loader/safe_browsing_resource_throttle.h
index 17a93d716d2d9a6e9eb5c406d47e6223acb26dc6..c9eec29eefbc2b7d88a71fa7acdfb342ae156177 100644
--- a/chrome/browser/loader/safe_browsing_resource_throttle.h
+++ b/chrome/browser/loader/safe_browsing_resource_throttle.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_
#define CHROME_BROWSER_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_
+#include <set>
#include <string>
#include <vector>
@@ -184,6 +185,11 @@ class SafeBrowsingResourceThrottle
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(SafeBrowsingResourceThrottle);
};
« no previous file with comments | « no previous file | chrome/browser/loader/safe_browsing_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698