| 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 #ifndef COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_ | 5 #ifndef COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_ |
| 6 #define COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_ | 6 #define COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 bool MatchCsdWhitelistUrl(const GURL& url) override; | 34 bool MatchCsdWhitelistUrl(const GURL& url) override; |
| 35 bool MatchDownloadWhitelistString(const std::string& str) override; | 35 bool MatchDownloadWhitelistString(const std::string& str) override; |
| 36 bool MatchDownloadWhitelistUrl(const GURL& url) override; | 36 bool MatchDownloadWhitelistUrl(const GURL& url) override; |
| 37 bool MatchMalwareIP(const std::string& ip_address) override; | 37 bool MatchMalwareIP(const std::string& ip_address) override; |
| 38 bool MatchModuleWhitelistString(const std::string& str) override; | 38 bool MatchModuleWhitelistString(const std::string& str) override; |
| 39 safe_browsing::ThreatSource GetThreatSource() const override; | 39 safe_browsing::ThreatSource GetThreatSource() const override; |
| 40 bool IsCsdWhitelistKillSwitchOn() override; | 40 bool IsCsdWhitelistKillSwitchOn() override; |
| 41 bool IsDownloadProtectionEnabled() const override; | 41 bool IsDownloadProtectionEnabled() const override; |
| 42 bool IsMalwareKillSwitchOn() override; | 42 bool IsMalwareKillSwitchOn() override; |
| 43 bool IsSupported() const override; | 43 bool IsSupported() const override; |
| 44 void StartOnIOThread(net::URLRequestContextGetter* request_context_getter, |
| 45 const V4ProtocolConfig& config) override; |
| 46 void StopOnIOThread(bool shutdown) override; |
| 44 | 47 |
| 45 protected: | 48 protected: |
| 46 ~TestSafeBrowsingDatabaseManager() override {}; | 49 ~TestSafeBrowsingDatabaseManager() override {}; |
| 47 }; | 50 }; |
| 48 | 51 |
| 49 } // namespace safe_browsing | 52 } // namespace safe_browsing |
| 50 | 53 |
| 51 #endif // COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_ | 54 #endif // COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_ |
| OLD | NEW |