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

Side by Side Diff: components/safe_browsing_db/v4_local_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_V4_LOCAL_DATABASE_MANAGER_H_ 5 #ifndef COMPONENTS_SAFE_BROWSING_DB_V4_LOCAL_DATABASE_MANAGER_H_
6 #define COMPONENTS_SAFE_BROWSING_DB_V4_LOCAL_DATABASE_MANAGER_H_ 6 #define COMPONENTS_SAFE_BROWSING_DB_V4_LOCAL_DATABASE_MANAGER_H_
7 7
8 // A class that provides the interface between the SafeBrowsing protocol manager 8 // A class that provides the interface between the SafeBrowsing protocol manager
9 // and database that holds the downloaded updates. 9 // and database that holds the downloaded updates.
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const V4ProtocolConfig& config) override; 46 const V4ProtocolConfig& config) override;
47 void StopOnIOThread(bool shutdown) override; 47 void StopOnIOThread(bool shutdown) override;
48 bool CheckDownloadUrl(const std::vector<GURL>& url_chain, 48 bool CheckDownloadUrl(const std::vector<GURL>& url_chain,
49 Client* client) override; 49 Client* client) override;
50 bool CheckExtensionIDs(const std::set<std::string>& extension_ids, 50 bool CheckExtensionIDs(const std::set<std::string>& extension_ids,
51 Client* client) override; 51 Client* client) override;
52 bool MatchCsdWhitelistUrl(const GURL& url) override; 52 bool MatchCsdWhitelistUrl(const GURL& url) override;
53 bool MatchMalwareIP(const std::string& ip_address) override; 53 bool MatchMalwareIP(const std::string& ip_address) override;
54 bool MatchDownloadWhitelistUrl(const GURL& url) override; 54 bool MatchDownloadWhitelistUrl(const GURL& url) override;
55 bool MatchDownloadWhitelistString(const std::string& str) override; 55 bool MatchDownloadWhitelistString(const std::string& str) override;
56 bool MatchInclusionWhitelistUrl(const GURL& url) override;
57 bool MatchModuleWhitelistString(const std::string& str) override; 56 bool MatchModuleWhitelistString(const std::string& str) override;
58 bool CheckResourceUrl(const GURL& url, Client* client) override; 57 bool CheckResourceUrl(const GURL& url, Client* client) override;
59 bool IsMalwareKillSwitchOn() override; 58 bool IsMalwareKillSwitchOn() override;
60 bool IsCsdWhitelistKillSwitchOn() override; 59 bool IsCsdWhitelistKillSwitchOn() override;
61 60
62 private: 61 private:
63 ~V4LocalDatabaseManager() override; 62 ~V4LocalDatabaseManager() override;
64 63
65 // The callback called each time the protocol manager downloads updates 64 // The callback called each time the protocol manager downloads updates
66 // successfully. 65 // successfully.
(...skipping 13 matching lines...) Expand all
80 // The database that manages the stores containing the hash prefix updates. 79 // The database that manages the stores containing the hash prefix updates.
81 std::unique_ptr<V4Database> v4_database_; 80 std::unique_ptr<V4Database> v4_database_;
82 81
83 friend class base::RefCountedThreadSafe<V4LocalDatabaseManager>; 82 friend class base::RefCountedThreadSafe<V4LocalDatabaseManager>;
84 DISALLOW_COPY_AND_ASSIGN(V4LocalDatabaseManager); 83 DISALLOW_COPY_AND_ASSIGN(V4LocalDatabaseManager);
85 }; // class V4LocalDatabaseManager 84 }; // class V4LocalDatabaseManager
86 85
87 } // namespace safe_browsing 86 } // namespace safe_browsing
88 87
89 #endif // COMPONENTS_SAFE_BROWSING_DB_V4_LOCAL_DATABASE_MANAGER_H_ 88 #endif // COMPONENTS_SAFE_BROWSING_DB_V4_LOCAL_DATABASE_MANAGER_H_
OLDNEW
« no previous file with comments | « components/safe_browsing_db/util.cc ('k') | components/safe_browsing_db/v4_local_database_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698