| OLD | NEW | 
|    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_PROTOCOL_MANAGER_UTIL_H_ |    5 #ifndef COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_UTIL_H_ | 
|    6 #define COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_UTIL_H_ |    6 #define COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_UTIL_H_ | 
|    7  |    7  | 
|    8 // A class that implements the stateless methods used by the GetHashUpdate and |    8 // A class that implements the stateless methods used by the GetHashUpdate and | 
|    9 // GetFullHash stubby calls made by Chrome using the SafeBrowsing V4 protocol. |    9 // GetFullHash stubby calls made by Chrome using the SafeBrowsing V4 protocol. | 
|   10  |   10  | 
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  135   ThreatEntryType threat_entry_type_; |  135   ThreatEntryType threat_entry_type_; | 
|  136   ThreatType threat_type_; |  136   ThreatType threat_type_; | 
|  137  |  137  | 
|  138   ListIdentifier(); |  138   ListIdentifier(); | 
|  139 }; |  139 }; | 
|  140  |  140  | 
|  141 std::ostream& operator<<(std::ostream& os, const ListIdentifier& id); |  141 std::ostream& operator<<(std::ostream& os, const ListIdentifier& id); | 
|  142  |  142  | 
|  143 PlatformType GetCurrentPlatformType(); |  143 PlatformType GetCurrentPlatformType(); | 
|  144 const ListIdentifier GetCertCsdDownloadWhitelistId(); |  144 const ListIdentifier GetCertCsdDownloadWhitelistId(); | 
|  145 const ListIdentifier GetChromeExtensionMalwareId(); |  145 const ListIdentifier GetChromeExtMalwareId(); | 
|  146 const ListIdentifier GetChromeUrlApiId(); |  146 const ListIdentifier GetChromeUrlApiId(); | 
|  147 const ListIdentifier GetChromeFilenameClientIncidentId(); |  147 const ListIdentifier GetChromeFilenameClientIncidentId(); | 
|  148 const ListIdentifier GetChromeUrlClientIncidentId(); |  148 const ListIdentifier GetChromeUrlClientIncidentId(); | 
|  149 const ListIdentifier GetIpMalwareId(); |  149 const ListIdentifier GetIpMalwareId(); | 
|  150 const ListIdentifier GetUrlCsdDownloadWhitelistId(); |  150 const ListIdentifier GetUrlCsdDownloadWhitelistId(); | 
|  151 const ListIdentifier GetUrlCsdWhitelistId(); |  151 const ListIdentifier GetUrlCsdWhitelistId(); | 
|  152 const ListIdentifier GetUrlMalwareId(); |  152 const ListIdentifier GetUrlMalwareId(); | 
|  153 const ListIdentifier GetUrlMalBinId(); |  153 const ListIdentifier GetUrlMalBinId(); | 
|  154 const ListIdentifier GetUrlSocEngId(); |  154 const ListIdentifier GetUrlSocEngId(); | 
|  155 const ListIdentifier GetUrlUwsId(); |  155 const ListIdentifier GetUrlUwsId(); | 
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  354  |  354  | 
|  355 template <> |  355 template <> | 
|  356 struct hash<safe_browsing::ListIdentifier> { |  356 struct hash<safe_browsing::ListIdentifier> { | 
|  357   std::size_t operator()(const safe_browsing::ListIdentifier& id) const { |  357   std::size_t operator()(const safe_browsing::ListIdentifier& id) const { | 
|  358     return id.hash(); |  358     return id.hash(); | 
|  359   } |  359   } | 
|  360 }; |  360 }; | 
|  361 } |  361 } | 
|  362  |  362  | 
|  363 #endif  // COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_UTIL_H_ |  363 #endif  // COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_UTIL_H_ | 
| OLD | NEW |