Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: net/dns/mdns_query.h

Issue 15733008: Multicast DNS implementation (initial) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mdns_implementation2
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/dns/mdns_query.h
diff --git a/net/dns/mdns_query.h b/net/dns/mdns_query.h
deleted file mode 100644
index 79f15d5a35acab66e54120361b35aac11e51a6d2..0000000000000000000000000000000000000000
--- a/net/dns/mdns_query.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_DNS_MDNS_QUERY_H__
-#define NET_DNS_MDNS_QUERY_H__
-
-#include <map>
-#include <string>
-
-#include "base/memory/ref_counted.h"
-#include "base/string_piece.h"
-#include "net/base/io_buffer.h"
-#include "net/dns/dns_protocol.h"
-#include "net/dns/record_parsed.h"
-
-namespace net {
-
-// Note: Currently this class is very similar to DnsQuery, but it is kept
-// separate to allow for adding known answers to the additional answer question.
-
-class MDnsQuery {
- public:
-MDnsQuery(const base::StringPiece& qname, uint16 qtype);
- ~MDnsQuery();
-
- // TODO(noamsml): void AddAnswer();
-
- IOBuffer* io_buffer() const { return io_buffer_.get(); }
- unsigned size() const { return io_buffer_->size(); }
-
- private:
- scoped_refptr<IOBufferWithSize> io_buffer_;
-
- DISALLOW_COPY_AND_ASSIGN(MDnsQuery);
-};
-} // namespace net
-
-#endif // NET_DNS_MDNS_QUERY_H__

Powered by Google App Engine
This is Rietveld 408576698