| OLD | NEW | 
|---|
| 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 // 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 45 #ifndef REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 45 #ifndef REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 
| 46 #define REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 46 #define REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 
| 47 | 47 | 
| 48 #include <string> | 48 #include <string> | 
| 49 | 49 | 
| 50 #include "base/callback.h" | 50 #include "base/callback.h" | 
| 51 #include "base/memory/ref_counted.h" | 51 #include "base/memory/ref_counted.h" | 
| 52 #include "base/threading/non_thread_safe.h" | 52 #include "base/threading/non_thread_safe.h" | 
| 53 #include "remoting/protocol/session.h" | 53 #include "remoting/protocol/session.h" | 
| 54 | 54 | 
| 55 class Task; |  | 
| 56 |  | 
| 57 namespace crypto { | 55 namespace crypto { | 
| 58 class RSAPrivateKey; | 56 class RSAPrivateKey; | 
| 59 }  // namespace base | 57 }  // namespace base | 
| 60 | 58 | 
| 61 namespace remoting { | 59 namespace remoting { | 
| 62 | 60 | 
| 63 class SignalStrategy; | 61 class SignalStrategy; | 
| 64 | 62 | 
| 65 namespace protocol { | 63 namespace protocol { | 
| 66 | 64 | 
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 143   virtual void Close() = 0; | 141   virtual void Close() = 0; | 
| 144 | 142 | 
| 145  private: | 143  private: | 
| 146   DISALLOW_COPY_AND_ASSIGN(SessionManager); | 144   DISALLOW_COPY_AND_ASSIGN(SessionManager); | 
| 147 }; | 145 }; | 
| 148 | 146 | 
| 149 }  // namespace protocol | 147 }  // namespace protocol | 
| 150 }  // namespace remoting | 148 }  // namespace remoting | 
| 151 | 149 | 
| 152 #endif  // REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 150 #endif  // REMOTING_PROTOCOL_SESSION_MANAGER_H_ | 
| OLD | NEW | 
|---|