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

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

Issue 2690003: Copy the (early prototype of) remoting in Chrome into the public tree.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/jingle_glue/jingle_client.cc ('k') | remoting/jingle_glue/jingle_info_task.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_JINGLE_GLUE_JINGLE_INFO_TASK_H_
6 #define REMOTING_JINGLE_GLUE_JINGLE_INFO_TASK_H_
7
8 #include <vector>
9 #include <string>
10
11 #include "talk/base/sigslot.h"
12 #include "talk/p2p/client/httpportallocator.h"
13 #include "talk/xmpp/xmppengine.h"
14 #include "talk/xmpp/xmpptask.h"
15
16 namespace remoting {
17
18 // JingleInfoTask is used to discover addresses of jingle servers.
19 // See http://code.google.com/apis/talk/jep_extensions/jingleinfo.html
20 // for more details about the protocol.
21 //
22 // This is a copy of googleclient/talk/app/jingleinfotask.h .
23 class JingleInfoTask : public buzz::XmppTask {
24 public:
25 explicit JingleInfoTask(talk_base::TaskParent* parent)
26 : XmppTask(parent, buzz::XmppEngine::HL_TYPE) {}
27
28 virtual int ProcessStart();
29 void RefreshJingleInfoNow();
30
31 sigslot::signal3<const std::string&,
32 const std::vector<std::string>&,
33 const std::vector<talk_base::SocketAddress>&>
34 SignalJingleInfo;
35
36 protected:
37 class JingleInfoGetTask;
38 friend class JingleInfoGetTask;
39
40 virtual bool HandleStanza(const buzz::XmlElement* stanza);
41 };
42
43 } // namespace remoting
44
45 #endif // REMOTING_JINGLE_GLUE_JINGLE_INFO_TASK_H_
OLDNEW
« no previous file with comments | « remoting/jingle_glue/jingle_client.cc ('k') | remoting/jingle_glue/jingle_info_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698