Index: chrome/browser/safe_browsing/test_database_manager.cc |
diff --git a/chrome/browser/safe_browsing/test_database_manager.cc b/chrome/browser/safe_browsing/test_database_manager.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..648451eade0bb932f4d77d9369b823d479b712a3 |
--- /dev/null |
+++ b/chrome/browser/safe_browsing/test_database_manager.cc |
@@ -0,0 +1,90 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/safe_browsing/test_database_manager.h" |
+ |
+#include <set> |
+#include <string> |
+#include <vector> |
+ |
+#include "base/logging.h" |
+ |
+bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::CheckBrowseUrl(const GURL& url, |
+ Client* client) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::CheckDownloadUrl( |
+ const std::vector<GURL>& url_chain, |
+ Client* client) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::CheckExtensionIDs( |
+ const std::set<std::string>& extension_ids, |
+ Client* client) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::MatchCsdWhitelistUrl(const GURL& url) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::MatchMalwareIP( |
+ const std::string& ip_address) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::MatchDownloadWhitelistUrl( |
+ const GURL& url) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::MatchDownloadWhitelistString( |
+ const std::string& str) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::MatchInclusionWhitelistUrl( |
+ const GURL& url) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::IsMalwareKillSwitchOn() { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+bool TestSafeBrowsingDatabaseManager::IsCsdWhitelistKillSwitchOn() { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void TestSafeBrowsingDatabaseManager::StartOnIOThread() { |
+} |
+ |
+void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { |
+} |