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

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: 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
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_;
+
scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> database_manager_;
scoped_refptr<safe_browsing::SafeBrowsingUIManager> ui_manager_;
const net::URLRequest* request_;

Powered by Google App Engine
This is Rietveld 408576698