| Index: net/dns/mdns_cache.h
|
| diff --git a/net/dns/mdns_cache.h b/net/dns/mdns_cache.h
|
| index 6a38fc8f0e28dc4d99cbcce35681cdec5ecebe5b..62703aac1e3b11f89be664d8413fecf54f648158 100644
|
| --- a/net/dns/mdns_cache.h
|
| +++ b/net/dns/mdns_cache.h
|
| @@ -39,11 +39,12 @@ class NET_EXPORT_PRIVATE MDnsCache {
|
| bool operator==(const Key& key) const;
|
|
|
| unsigned type() const { return type_; }
|
| - const std::string& name() const { return name_; }
|
| + const std::string& name() const { return name_; }
|
| const std::string& optional() const { return optional_; }
|
|
|
| // Create the cache key corresponding to |record|.
|
| static Key CreateFor(const RecordParsed* record);
|
| +
|
| private:
|
| unsigned type_;
|
| std::string name_;
|
| @@ -52,12 +53,7 @@ class NET_EXPORT_PRIVATE MDnsCache {
|
|
|
| typedef base::Callback<void(const RecordParsed*)> RecordRemovedCallback;
|
|
|
| - enum UpdateType {
|
| - RecordAdded,
|
| - RecordChanged,
|
| - RecordRemoved,
|
| - NoChange
|
| - };
|
| + enum UpdateType { RecordAdded, RecordChanged, RecordRemoved, NoChange };
|
|
|
| MDnsCache();
|
| ~MDnsCache();
|
| @@ -105,8 +101,7 @@ class NET_EXPORT_PRIVATE MDnsCache {
|
| // Get optional part of the DNS key for shared records. For example, in PTR
|
| // records this is the pointed domain, since multiple PTR records may exist
|
| // for the same name.
|
| - static std::string GetOptionalFieldForRecord(
|
| - const RecordParsed* record);
|
| + static std::string GetOptionalFieldForRecord(const RecordParsed* record);
|
|
|
| RecordMap mdns_cache_;
|
|
|
|
|