summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/jingle_info_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/jingle_glue/jingle_info_request.h')
-rw-r--r--remoting/jingle_glue/jingle_info_request.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/remoting/jingle_glue/jingle_info_request.h b/remoting/jingle_glue/jingle_info_request.h
index df7552f..6d5bcf6 100644
--- a/remoting/jingle_glue/jingle_info_request.h
+++ b/remoting/jingle_glue/jingle_info_request.h
@@ -27,8 +27,6 @@ class SocketAddress;
namespace remoting {
class IqRequest;
-class HostResolver;
-class HostResolverFactory;
// JingleInfoRequest handles requesting STUN/Relay infromation from
// the Google Talk network. The query is made when Send() is
@@ -49,8 +47,7 @@ class JingleInfoRequest : public sigslot::has_slots<> {
const std::string&, const std::vector<std::string>&,
const std::vector<talk_base::SocketAddress>&)> OnJingleInfoCallback;
- explicit JingleInfoRequest(IqRequest* request,
- HostResolverFactory* host_resolver_factory);
+ explicit JingleInfoRequest(IqRequest* request);
virtual ~JingleInfoRequest();
void Send(const OnJingleInfoCallback& callback);
@@ -59,19 +56,10 @@ class JingleInfoRequest : public sigslot::has_slots<> {
struct PendingDnsRequest;
void OnResponse(const buzz::XmlElement* stanza);
- void OnStunAddressResponse(HostResolver* resolver,
- const talk_base::SocketAddress& address);
- HostResolverFactory* host_resolver_factory_;
scoped_ptr<IqRequest> request_;
OnJingleInfoCallback on_jingle_info_cb_;
- std::vector<std::string> relay_hosts_;
- std::vector<talk_base::SocketAddress> stun_hosts_;
- std::string relay_token_;
-
- std::set<HostResolver*> stun_dns_requests_;
-
DISALLOW_COPY_AND_ASSIGN(JingleInfoRequest);
};