| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_BASE_SSLADAPTER_H_ | 11 #ifndef WEBRTC_RTC_BASE_SSLADAPTER_H_ |
| 12 #define WEBRTC_BASE_SSLADAPTER_H_ | 12 #define WEBRTC_RTC_BASE_SSLADAPTER_H_ |
| 13 | 13 |
| 14 #include "webrtc/base/asyncsocket.h" | 14 #include "webrtc/base/asyncsocket.h" |
| 15 #include "webrtc/base/sslstreamadapter.h" | 15 #include "webrtc/base/sslstreamadapter.h" |
| 16 | 16 |
| 17 namespace rtc { | 17 namespace rtc { |
| 18 | 18 |
| 19 /////////////////////////////////////////////////////////////////////////////// | 19 /////////////////////////////////////////////////////////////////////////////// |
| 20 | 20 |
| 21 class SSLAdapter : public AsyncSocketAdapter { | 21 class SSLAdapter : public AsyncSocketAdapter { |
| 22 public: | 22 public: |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // Call to initialize additional threads. | 55 // Call to initialize additional threads. |
| 56 bool InitializeSSLThread(); | 56 bool InitializeSSLThread(); |
| 57 | 57 |
| 58 // Call to cleanup additional threads, and also the main thread. | 58 // Call to cleanup additional threads, and also the main thread. |
| 59 bool CleanupSSL(); | 59 bool CleanupSSL(); |
| 60 | 60 |
| 61 /////////////////////////////////////////////////////////////////////////////// | 61 /////////////////////////////////////////////////////////////////////////////// |
| 62 | 62 |
| 63 } // namespace rtc | 63 } // namespace rtc |
| 64 | 64 |
| 65 #endif // WEBRTC_BASE_SSLADAPTER_H_ | 65 #endif // WEBRTC_RTC_BASE_SSLADAPTER_H_ |
| OLD | NEW |