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

Side by Side Diff: components/safe_browsing_db/test_database_manager.h

Issue 1970823002: Remove the unused OffDomainInclusionDetector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 4 years, 7 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 unified diff | Download patch
OLDNEW
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 25 matching lines...) Expand all
36 bool CheckBrowseUrl(const GURL& url, Client* client) override; 36 bool CheckBrowseUrl(const GURL& url, Client* client) override;
37 bool CheckDownloadUrl(const std::vector<GURL>& url_chain, 37 bool CheckDownloadUrl(const std::vector<GURL>& url_chain,
38 Client* client) override; 38 Client* client) override;
39 bool CheckExtensionIDs(const std::set<std::string>& extension_ids, 39 bool CheckExtensionIDs(const std::set<std::string>& extension_ids,
40 Client* client) override; 40 Client* client) override;
41 bool CheckResourceUrl(const GURL& url, Client* client) override; 41 bool CheckResourceUrl(const GURL& url, Client* client) override;
42 bool MatchCsdWhitelistUrl(const GURL& url) override; 42 bool MatchCsdWhitelistUrl(const GURL& url) override;
43 bool MatchMalwareIP(const std::string& ip_address) override; 43 bool MatchMalwareIP(const std::string& ip_address) override;
44 bool MatchDownloadWhitelistUrl(const GURL& url) override; 44 bool MatchDownloadWhitelistUrl(const GURL& url) override;
45 bool MatchDownloadWhitelistString(const std::string& str) override; 45 bool MatchDownloadWhitelistString(const std::string& str) override;
46 bool MatchInclusionWhitelistUrl(const GURL& url) override;
47 bool MatchModuleWhitelistString(const std::string& str) override; 46 bool MatchModuleWhitelistString(const std::string& str) override;
48 bool IsMalwareKillSwitchOn() override; 47 bool IsMalwareKillSwitchOn() override;
49 bool IsCsdWhitelistKillSwitchOn() override; 48 bool IsCsdWhitelistKillSwitchOn() override;
50 void CancelCheck(Client* client) override; 49 void CancelCheck(Client* client) override;
51 50
52 protected: 51 protected:
53 ~TestSafeBrowsingDatabaseManager() override {}; 52 ~TestSafeBrowsingDatabaseManager() override {};
54 }; 53 };
55 54
56 } // namespace safe_browsing 55 } // namespace safe_browsing
57 56
58 #endif // COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_ 57 #endif // COMPONENTS_SAFE_BROWSING_DB_TEST_DATABASE_MANAGER_H_
OLDNEW
« no previous file with comments | « components/safe_browsing_db/remote_database_manager.cc ('k') | components/safe_browsing_db/test_database_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698