Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/safe_browsing/test_database_manager.h" | 5 #include "chrome/browser/safe_browsing/test_database_manager.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 | 12 |
| 13 bool TestSafeBrowsingDatabaseManager::IsSupported() const { | 13 bool TestSafeBrowsingDatabaseManager::IsSupported() const { |
| 14 NOTIMPLEMENTED(); | 14 NOTIMPLEMENTED(); |
| 15 return false; | 15 return false; |
| 16 } | 16 } |
| 17 | 17 |
| 18 bool TestSafeBrowsingDatabaseManager::ChecksAreAlwaysAsync() const { | |
| 19 NOTIMPLEMENTED(); | |
| 20 return false; | |
| 21 } | |
| 22 | |
| 23 bool TestSafeBrowsingDatabaseManager::CanCheckResourceType( | |
| 24 content::ResourceType resource_type) const { | |
| 25 NOTIMPLEMENTED(); | |
|
mattm
2015/10/19 20:19:40
The tests that use TestSafeBrowsingDatabaseManager
Nathan Parker
2015/10/19 21:03:22
Yup, just noticed I missed that. Done.
| |
| 26 return false; | |
| 27 } | |
| 28 | |
| 18 bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const { | 29 bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const { |
| 19 NOTIMPLEMENTED(); | 30 NOTIMPLEMENTED(); |
| 20 return false; | 31 return false; |
| 21 } | 32 } |
| 22 | 33 |
| 23 bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const { | 34 bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const { |
| 24 NOTIMPLEMENTED(); | 35 NOTIMPLEMENTED(); |
| 25 return false; | 36 return false; |
| 26 } | 37 } |
| 27 | 38 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 | 97 |
| 87 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) { | 98 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) { |
| 88 NOTIMPLEMENTED(); | 99 NOTIMPLEMENTED(); |
| 89 } | 100 } |
| 90 | 101 |
| 91 void TestSafeBrowsingDatabaseManager::StartOnIOThread() { | 102 void TestSafeBrowsingDatabaseManager::StartOnIOThread() { |
| 92 } | 103 } |
| 93 | 104 |
| 94 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { | 105 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { |
| 95 } | 106 } |
| OLD | NEW |