| 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 "components/safe_browsing_db/test_database_manager.h" | 5 #include "components/safe_browsing_db/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 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 bool TestSafeBrowsingDatabaseManager::IsMalwareKillSwitchOn() { | 107 bool TestSafeBrowsingDatabaseManager::IsMalwareKillSwitchOn() { |
| 108 NOTIMPLEMENTED(); | 108 NOTIMPLEMENTED(); |
| 109 return false; | 109 return false; |
| 110 } | 110 } |
| 111 | 111 |
| 112 bool TestSafeBrowsingDatabaseManager::IsSupported() const { | 112 bool TestSafeBrowsingDatabaseManager::IsSupported() const { |
| 113 NOTIMPLEMENTED(); | 113 NOTIMPLEMENTED(); |
| 114 return false; | 114 return false; |
| 115 } | 115 } |
| 116 | 116 |
| 117 void TestSafeBrowsingDatabaseManager::StartOnIOThread( |
| 118 net::URLRequestContextGetter* request_context_getter, |
| 119 const V4ProtocolConfig& config) { |
| 120 SafeBrowsingDatabaseManager::StartOnIOThread(request_context_getter, config); |
| 121 enabled_ = true; |
| 122 } |
| 123 |
| 124 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { |
| 125 enabled_ = false; |
| 126 SafeBrowsingDatabaseManager::StopOnIOThread(shutdown); |
| 127 } |
| 128 |
| 117 } // namespace safe_browsing | 129 } // namespace safe_browsing |
| OLD | NEW |