| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // The purpose of SessionManager is to facilitate creation of chromotocol | 5 // The purpose of SessionManager is to facilitate creation of chromotocol |
| 6 // sessions. Both host and client use it to establish chromotocol | 6 // sessions. Both host and client use it to establish chromotocol |
| 7 // sessions. JingleChromotocolServer implements this inteface using | 7 // sessions. JingleChromotocolServer implements this inteface using |
| 8 // libjingle. | 8 // libjingle. |
| 9 // | 9 // |
| 10 // OUTGOING SESSIONS | 10 // OUTGOING SESSIONS |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // ChromotocolConnnection::candidate_config(). If an incoming session is | 49 // ChromotocolConnnection::candidate_config(). If an incoming session is |
| 50 // being accepted then the IncomingSessionCallback callback function must | 50 // being accepted then the IncomingSessionCallback callback function must |
| 51 // select session configuration and then set it with Session::set_config(). | 51 // select session configuration and then set it with Session::set_config(). |
| 52 | 52 |
| 53 #ifndef REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 53 #ifndef REMOTING_PROTOCOL_SESSION_MANAGER_H_ |
| 54 #define REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 54 #define REMOTING_PROTOCOL_SESSION_MANAGER_H_ |
| 55 | 55 |
| 56 #include <string> | 56 #include <string> |
| 57 | 57 |
| 58 #include "base/callback.h" | 58 #include "base/callback.h" |
| 59 #include "base/macros.h" |
| 59 #include "base/threading/non_thread_safe.h" | 60 #include "base/threading/non_thread_safe.h" |
| 60 #include "remoting/protocol/session.h" | 61 #include "remoting/protocol/session.h" |
| 61 | 62 |
| 62 namespace remoting { | 63 namespace remoting { |
| 63 | 64 |
| 64 class SignalStrategy; | 65 class SignalStrategy; |
| 65 | 66 |
| 66 namespace protocol { | 67 namespace protocol { |
| 67 | 68 |
| 68 class Authenticator; | 69 class Authenticator; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 scoped_ptr<AuthenticatorFactory> authenticator_factory) = 0; | 125 scoped_ptr<AuthenticatorFactory> authenticator_factory) = 0; |
| 125 | 126 |
| 126 private: | 127 private: |
| 127 DISALLOW_COPY_AND_ASSIGN(SessionManager); | 128 DISALLOW_COPY_AND_ASSIGN(SessionManager); |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 } // namespace protocol | 131 } // namespace protocol |
| 131 } // namespace remoting | 132 } // namespace remoting |
| 132 | 133 |
| 133 #endif // REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 134 #endif // REMOTING_PROTOCOL_SESSION_MANAGER_H_ |
| OLD | NEW |