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

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

Issue 2540563002: Move SafeBrowsingUIManager::UnsafeResource to security_interstitials namespace (Closed)
Patch Set: rebase update Created 4 years 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 c1e00cd3f49987bbc0af65902fd2cca8025ead25..3f39487d9d6d8814656e270e6226f186be4da804 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_;
}
@@ -1330,7 +1330,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