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

Side by Side Diff: remoting/jingle_glue/jingle_info_request.h

Issue 9447087: Revert 123635 - Implement timeouts for IQ requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/jingle_glue/iq_sender_unittest.cc ('k') | remoting/jingle_glue/jingle_info_request.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef REMOTING_JINGLE_GLUE_JINGLE_INFO_REQUEST_H_ 5 #ifndef REMOTING_JINGLE_GLUE_JINGLE_INFO_REQUEST_H_
6 #define REMOTING_JINGLE_GLUE_JINGLE_INFO_REQUEST_H_ 6 #define REMOTING_JINGLE_GLUE_JINGLE_INFO_REQUEST_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const std::vector<talk_base::SocketAddress>&)> OnJingleInfoCallback; 47 const std::vector<talk_base::SocketAddress>&)> OnJingleInfoCallback;
48 48
49 explicit JingleInfoRequest(SignalStrategy* signal_strategy); 49 explicit JingleInfoRequest(SignalStrategy* signal_strategy);
50 virtual ~JingleInfoRequest(); 50 virtual ~JingleInfoRequest();
51 51
52 void Send(const OnJingleInfoCallback& callback); 52 void Send(const OnJingleInfoCallback& callback);
53 53
54 private: 54 private:
55 struct PendingDnsRequest; 55 struct PendingDnsRequest;
56 56
57 void OnResponse(IqRequest* request, const buzz::XmlElement* stanza); 57 void OnResponse(const buzz::XmlElement* stanza);
58 58
59 IqSender iq_sender_; 59 IqSender iq_sender_;
60 scoped_ptr<IqRequest> request_; 60 scoped_ptr<IqRequest> request_;
61 OnJingleInfoCallback on_jingle_info_cb_; 61 OnJingleInfoCallback on_jingle_info_cb_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(JingleInfoRequest); 63 DISALLOW_COPY_AND_ASSIGN(JingleInfoRequest);
64 }; 64 };
65 65
66 } // namespace remoting 66 } // namespace remoting
67 67
68 #endif // REMOTING_JINGLE_GLUE_JINGLE_INFO_REQUEST_H_ 68 #endif // REMOTING_JINGLE_GLUE_JINGLE_INFO_REQUEST_H_
OLDNEW
« no previous file with comments | « remoting/jingle_glue/iq_sender_unittest.cc ('k') | remoting/jingle_glue/jingle_info_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698