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

Side by Side Diff: remoting/protocol/jingle_session_manager.h

Issue 8116021: Switch remoting/protocol to new callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 2 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/protocol/jingle_session.cc ('k') | remoting/protocol/jingle_session_manager.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) 2011 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_PROTOCOL_JINGLE_SESSION_MANAGER_H_ 5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_
6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ 6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 SignalStrategy* signal_strategy, 44 SignalStrategy* signal_strategy,
45 Listener* listener, 45 Listener* listener,
46 crypto::RSAPrivateKey* private_key, 46 crypto::RSAPrivateKey* private_key,
47 const std::string& certificate, 47 const std::string& certificate,
48 bool allow_nat_traversal) OVERRIDE; 48 bool allow_nat_traversal) OVERRIDE;
49 virtual Session* Connect( 49 virtual Session* Connect(
50 const std::string& host_jid, 50 const std::string& host_jid,
51 const std::string& host_public_key, 51 const std::string& host_public_key,
52 const std::string& client_token, 52 const std::string& client_token,
53 CandidateSessionConfig* config, 53 CandidateSessionConfig* config,
54 Session::StateChangeCallback* state_change_callback) OVERRIDE; 54 const Session::StateChangeCallback& state_change_callback) OVERRIDE;
55 virtual void Close() OVERRIDE; 55 virtual void Close() OVERRIDE;
56 56
57 void set_allow_local_ips(bool allow_local_ips); 57 void set_allow_local_ips(bool allow_local_ips);
58 58
59 // cricket::SessionClient interface. 59 // cricket::SessionClient interface.
60 virtual void OnSessionCreate(cricket::Session* cricket_session, 60 virtual void OnSessionCreate(cricket::Session* cricket_session,
61 bool received_initiate) OVERRIDE; 61 bool received_initiate) OVERRIDE;
62 virtual void OnSessionDestroy(cricket::Session* cricket_session) OVERRIDE; 62 virtual void OnSessionDestroy(cricket::Session* cricket_session) OVERRIDE;
63 63
64 virtual bool ParseContent(cricket::SignalingProtocol protocol, 64 virtual bool ParseContent(cricket::SignalingProtocol protocol,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 ScopedRunnableMethodFactory<JingleSessionManager> task_factory_; 123 ScopedRunnableMethodFactory<JingleSessionManager> task_factory_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); 125 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager);
126 }; 126 };
127 127
128 } // namespace protocol 128 } // namespace protocol
129 } // namespace remoting 129 } // namespace remoting
130 130
131 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ 131 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/jingle_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698