| Index: components/safe_browsing_db/testing_util.h
|
| diff --git a/components/safe_browsing_db/testing_util.h b/components/safe_browsing_db/testing_util.h
|
| index 76b319464c4a96b8a199bad1c783b6915a69e5da..8447162681c2ce3ca5529e66358c0b83cd0df637 100644
|
| --- a/components/safe_browsing_db/testing_util.h
|
| +++ b/components/safe_browsing_db/testing_util.h
|
| @@ -13,22 +13,12 @@
|
|
|
| namespace safe_browsing {
|
|
|
| -inline bool operator==(const ThreatMetadata& lhs, const ThreatMetadata& rhs) {
|
| - return lhs.threat_pattern_type == rhs.threat_pattern_type &&
|
| - lhs.api_permissions == rhs.api_permissions &&
|
| - lhs.population_id == rhs.population_id;
|
| -}
|
| -
|
| -inline bool operator!=(const ThreatMetadata& lhs, const ThreatMetadata& rhs) {
|
| - return !(lhs == rhs);
|
| -}
|
| -
|
| inline std::ostream& operator<<(std::ostream& os, const ThreatMetadata& meta) {
|
| os << "{threat_pattern_type=" << static_cast<int>(meta.threat_pattern_type)
|
| << ", api_permissions=[";
|
| for (auto p : meta.api_permissions)
|
| os << p << ",";
|
| - return os << "], population_id=" << meta.population_id;
|
| + return os << "], population_id=" << meta.population_id << "}";
|
| }
|
|
|
| } // namespace safe_browsing
|
|
|