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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host_unittest.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/client_side_detection_host_unittest.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
index bbe5c1a4855f92a7697661abcd8980d469499304..284b0d4ed9bd13f4b51f355c794b4e8f8dcd29e4 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
@@ -143,7 +143,8 @@ class MockSafeBrowsingUIManager : public SafeBrowsingUIManager {
// Helper function which calls OnBlockingPageComplete for this client
// object.
- void InvokeOnBlockingPageComplete(const UrlCheckCallback& callback) {
+ void InvokeOnBlockingPageComplete(
+ const security_interstitials::UnsafeResource::UrlCheckCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
// Note: this will delete the client object in the case of the CsdClient
// implementation.
@@ -204,7 +205,7 @@ class MockBrowserFeatureExtractor : public BrowserFeatureExtractor {
class ClientSideDetectionHostTest : public ChromeRenderViewHostTestHarness {
public:
- typedef SafeBrowsingUIManager::UnsafeResource UnsafeResource;
+ typedef security_interstitials::UnsafeResource UnsafeResource;
void SetUp() override {
ChromeRenderViewHostTestHarness::SetUp();

Powered by Google App Engine
This is Rietveld 408576698