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

Side by Side Diff: remoting/protocol/pepper_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/pepper_session.cc ('k') | remoting/protocol/pepper_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_PEPPER_SESSION_MANAGER_H_ 5 #ifndef REMOTING_PROTOCOL_PEPPER_SESSION_MANAGER_H_
6 #define REMOTING_PROTOCOL_PEPPER_SESSION_MANAGER_H_ 6 #define REMOTING_PROTOCOL_PEPPER_SESSION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 SignalStrategy* signal_strategy, 51 SignalStrategy* signal_strategy,
52 SessionManager::Listener* listener, 52 SessionManager::Listener* listener,
53 crypto::RSAPrivateKey* private_key, 53 crypto::RSAPrivateKey* private_key,
54 const std::string& certificate, 54 const std::string& certificate,
55 bool allow_nat_traversal) OVERRIDE; 55 bool allow_nat_traversal) OVERRIDE;
56 virtual Session* Connect( 56 virtual Session* Connect(
57 const std::string& host_jid, 57 const std::string& host_jid,
58 const std::string& host_public_key, 58 const std::string& host_public_key,
59 const std::string& client_token, 59 const std::string& client_token,
60 CandidateSessionConfig* config, 60 CandidateSessionConfig* config,
61 Session::StateChangeCallback* state_change_callback) OVERRIDE; 61 const Session::StateChangeCallback& state_change_callback) OVERRIDE;
62 virtual void Close() OVERRIDE; 62 virtual void Close() OVERRIDE;
63 63
64 // SignalStrategy::Listener interface. 64 // SignalStrategy::Listener interface.
65 virtual bool OnIncomingStanza(const buzz::XmlElement* stanza) OVERRIDE; 65 virtual bool OnIncomingStanza(const buzz::XmlElement* stanza) OVERRIDE;
66 66
67 private: 67 private:
68 friend class PepperSession; 68 friend class PepperSession;
69 69
70 typedef std::map<std::string, PepperSession*> SessionsMap; 70 typedef std::map<std::string, PepperSession*> SessionsMap;
71 71
(...skipping 24 matching lines...) Expand all
96 96
97 SessionsMap sessions_; 97 SessionsMap sessions_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(PepperSessionManager); 99 DISALLOW_COPY_AND_ASSIGN(PepperSessionManager);
100 }; 100 };
101 101
102 } // namespace protocol 102 } // namespace protocol
103 } // namespace remoting 103 } // namespace remoting
104 104
105 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_MANAGER_H_ 105 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_MANAGER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/pepper_session.cc ('k') | remoting/protocol/pepper_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698