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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host.h

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/client_side_detection_host.h
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.h b/chrome/browser/safe_browsing/client_side_detection_host.h
index c908fc1873b2708ef09ba9603b0f5431346266a8..f107302fbbcae72944fcfe7682d9c9525050b7e5 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.h
+++ b/chrome/browser/safe_browsing/client_side_detection_host.h
@@ -53,7 +53,7 @@ class ClientSideDetectionHost : public content::WebContentsObserver,
// Called when the SafeBrowsingService found a hit with one of the
// SafeBrowsing lists. This method is called on the UI thread.
void OnSafeBrowsingHit(
- const SafeBrowsingUIManager::UnsafeResource& resource) override;
+ const security_interstitials::UnsafeResource& resource) override;
virtual scoped_refptr<SafeBrowsingDatabaseManager> database_manager();
@@ -162,7 +162,7 @@ class ClientSideDetectionHost : public content::WebContentsObserver,
// Unique page ID of the most recent unsafe site that was loaded in this tab
// as well as the UnsafeResource.
int unsafe_unique_page_id_;
- std::unique_ptr<SafeBrowsingUIManager::UnsafeResource> unsafe_resource_;
+ std::unique_ptr<security_interstitials::UnsafeResource> unsafe_resource_;
base::WeakPtrFactory<ClientSideDetectionHost> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698