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

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

Issue 2616653002: Have a list of pending checks instead of pending clients (Closed)
Patch Set: Don't care about timing out of SB check for redirect loops. 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 8a821412ed244b1b57b1b37f803a83bde5056262..81eed113d1e1061fbf9a9bf86792438a6a4d820d 100644
--- a/chrome/browser/loader/safe_browsing_resource_throttle.h
+++ b/chrome/browser/loader/safe_browsing_resource_throttle.h
@@ -168,6 +168,11 @@ class SafeBrowsingResourceThrottle
GURL unchecked_redirect_url_;
GURL url_being_checked_;
+ // TODO(vakh): The following vector should be removed after fixing
+ // http://crbug.com/660293
+ // URLs that timed out waiting for a SafeBrowsing reputation check.
+ std::vector<GURL> timed_out_urls_;
Charlie Harrison 2017/01/06 16:53:00 Do we really need the GURL copies here? The URLRe
vakh (use Gerrit instead) 2017/01/09 19:21:32 You mean just store references to those GURLs? For
Charlie Harrison 2017/01/09 21:46:53 A resource throttle is owned by a ThrottlingResour
+
scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> database_manager_;
scoped_refptr<safe_browsing::SafeBrowsingUIManager> ui_manager_;
const net::URLRequest* request_;
« 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