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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc

Issue 2540563002: Move SafeBrowsingUIManager::UnsafeResource to security_interstitials namespace (Closed)
Patch Set: remove deps, sources for ios Created 4 years, 1 month 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/safe_browsing/safe_browsing_blocking_page_test.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc
index f2e9b43eba39eacf826642164197acf3b66adeef..4a19bcffe6201e361d6870a5e264597fb44ea711 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc
@@ -211,7 +211,7 @@ class TestThreatDetailsFactory : public ThreatDetailsFactory {
ThreatDetails* CreateThreatDetails(
SafeBrowsingUIManager* delegate,
WebContents* web_contents,
- const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) override {
+ const security_interstitials::UnsafeResource& unsafe_resource) override {
details_ = new ThreatDetails(delegate, web_contents, unsafe_resource);
return details_;
}
@@ -1290,7 +1290,7 @@ class SafeBrowsingBlockingPageIDNTest
resource.is_subresource = is_subresource;
resource.threat_type = testing::get<1>(GetParam());
resource.web_contents_getter =
- SafeBrowsingUIManager::UnsafeResource::GetWebContentsGetter(
+ security_interstitials::UnsafeResource::GetWebContentsGetter(
contents->GetRenderProcessHost()->GetID(),
contents->GetMainFrame()->GetRoutingID());
resource.threat_source = safe_browsing::ThreatSource::LOCAL_PVER3;

Powered by Google App Engine
This is Rietveld 408576698