summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/ui_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/ui_manager.h')
-rw-r--r--chrome/browser/safe_browsing/ui_manager.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/chrome/browser/safe_browsing/ui_manager.h b/chrome/browser/safe_browsing/ui_manager.h
index 53a3c03..81638e9 100644
--- a/chrome/browser/safe_browsing/ui_manager.h
+++ b/chrome/browser/safe_browsing/ui_manager.h
@@ -45,7 +45,7 @@ class SafeBrowsingUIManager
std::vector<GURL> redirect_urls;
bool is_subresource;
SBThreatType threat_type;
- UrlCheckCallback callback;
+ UrlCheckCallback callback; // This is called back on the IO thread.
int render_process_host_id;
int render_view_id;
};
@@ -87,22 +87,12 @@ class SafeBrowsingUIManager
// could be reported.
virtual bool CanReportStats() const;
- // Called on the IO thread to display an interstitial page.
+ // Called on the UI thread to display an interstitial page.
// |url| is the url of the resource that matches a safe browsing list.
// If the request contained a chain of redirects, |url| is the last url
// in the chain, and |original_url| is the first one (the root of the
// chain). Otherwise, |original_url| = |url|.
- void DisplayBlockingPage(const GURL& url,
- const GURL& original_url,
- const std::vector<GURL>& redirect_urls,
- bool is_subresource,
- SBThreatType threat_type,
- const UrlCheckCallback& callback,
- int render_process_host_id,
- int render_view_id);
-
- // Same as above but gets invoked on the UI thread.
- virtual void DoDisplayBlockingPage(const UnsafeResource& resource);
+ virtual void DisplayBlockingPage(const UnsafeResource& resource);
// Returns true if we already displayed an interstitial for that resource.
// Called on the UI thread.