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

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

Issue 1343293004: Don't check URLs against Safe Browsing if not supported. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: braces, per the thestig Created 5 years, 3 months 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/test_database_manager.h
diff --git a/chrome/browser/safe_browsing/test_database_manager.h b/chrome/browser/safe_browsing/test_database_manager.h
index 9bbb49a21a8c1a8ef1c433a4b5f5cf17339c7061..64e5322aefa81852aab4c7ae370de07eacccabca 100644
--- a/chrome/browser/safe_browsing/test_database_manager.h
+++ b/chrome/browser/safe_browsing/test_database_manager.h
@@ -18,6 +18,7 @@ class TestSafeBrowsingDatabaseManager
: public SafeBrowsingDatabaseManager {
public:
// SafeBrowsingDatabaseManager implementation:
+ bool IsSupported() const override;
bool CanCheckUrl(const GURL& url) const override;
bool download_protection_enabled() const override;
bool CheckBrowseUrl(const GURL& url, Client* client) override;
« no previous file with comments | « chrome/browser/safe_browsing/remote_database_manager.cc ('k') | chrome/browser/safe_browsing/test_database_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698