| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "net/dns/record_parsed.h" | 5 #include "net/dns/record_parsed.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "net/dns/dns_response.h" | 10 #include "net/dns/dns_response.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 if (is_mdns) { | 81 if (is_mdns) { |
| 82 klass &= dns_protocol::kMDnsClassMask; | 82 klass &= dns_protocol::kMDnsClassMask; |
| 83 other_klass &= dns_protocol::kMDnsClassMask; | 83 other_klass &= dns_protocol::kMDnsClassMask; |
| 84 } | 84 } |
| 85 | 85 |
| 86 return name_ == other->name_ && | 86 return name_ == other->name_ && |
| 87 klass == other_klass && | 87 klass == other_klass && |
| 88 type_ == other->type_ && | 88 type_ == other->type_ && |
| 89 rdata_->IsEqual(other->rdata_.get()); | 89 rdata_->IsEqual(other->rdata_.get()); |
| 90 } | 90 } |
| 91 } | 91 |
| 92 } // namespace net |
| OLD | NEW |