summaryrefslogtreecommitdiff
path: root/chromium/net/dns/dns_response.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/dns/dns_response.h')
-rw-r--r--chromium/net/dns/dns_response.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/net/dns/dns_response.h b/chromium/net/dns/dns_response.h
index 75d69707345..b7fa79aadc5 100644
--- a/chromium/net/dns/dns_response.h
+++ b/chromium/net/dns/dns_response.h
@@ -44,8 +44,8 @@ struct NET_EXPORT_PRIVATE DnsResourceRecord {
DnsResourceRecord& operator=(const DnsResourceRecord& other);
DnsResourceRecord& operator=(DnsResourceRecord&& other);
- // A helper to set |owned_rdata| that also sets |rdata| to point to it.
- // See the definition of |owned_rdata| below.
+ // A helper to set |owned_rdata| that also sets |rdata| to point to it. The
+ // |value| must be non-empty. See the definition of |owned_rdata| below.
void SetOwnedRdata(std::string value);
// NAME (variable length) + TYPE (2 bytes) + CLASS (2 bytes) + TTL (4 bytes) +
@@ -208,9 +208,9 @@ class NET_EXPORT_PRIVATE DnsResponse {
bool WriteHeader(base::BigEndianWriter* writer,
const dns_protocol::Header& header);
bool WriteQuestion(base::BigEndianWriter* writer, const DnsQuery& query);
- bool WriteRecord(base::BigEndianWriter* wirter,
+ bool WriteRecord(base::BigEndianWriter* writer,
const DnsResourceRecord& record);
- bool WriteAnswer(base::BigEndianWriter* wirter,
+ bool WriteAnswer(base::BigEndianWriter* writer,
const DnsResourceRecord& answer,
const base::Optional<DnsQuery>& query);