| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 // Interfaces matching the draft-ietf-rtcweb-jsep-01. | 11 // Interfaces matching the draft-ietf-rtcweb-jsep-01. |
| 12 | 12 |
| 13 #ifndef WEBRTC_API_JSEP_H_ | 13 #ifndef WEBRTC_API_JSEP_H_ |
| 14 #define WEBRTC_API_JSEP_H_ | 14 #define WEBRTC_API_JSEP_H_ |
| 15 | 15 |
| 16 #include <stddef.h> |
| 17 |
| 16 #include <string> | 18 #include <string> |
| 17 #include <vector> | 19 #include <vector> |
| 18 | 20 |
| 19 #include "webrtc/base/basictypes.h" | |
| 20 #include "webrtc/base/refcount.h" | 21 #include "webrtc/base/refcount.h" |
| 21 | 22 |
| 22 namespace cricket { | 23 namespace cricket { |
| 23 class Candidate; | 24 class Candidate; |
| 24 class SessionDescription; | 25 class SessionDescription; |
| 25 } // namespace cricket | 26 } // namespace cricket |
| 26 | 27 |
| 27 namespace webrtc { | 28 namespace webrtc { |
| 28 | 29 |
| 29 struct SdpParseError { | 30 struct SdpParseError { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 virtual void OnSuccess() = 0; | 135 virtual void OnSuccess() = 0; |
| 135 virtual void OnFailure(const std::string& error) = 0; | 136 virtual void OnFailure(const std::string& error) = 0; |
| 136 | 137 |
| 137 protected: | 138 protected: |
| 138 ~SetSessionDescriptionObserver() {} | 139 ~SetSessionDescriptionObserver() {} |
| 139 }; | 140 }; |
| 140 | 141 |
| 141 } // namespace webrtc | 142 } // namespace webrtc |
| 142 | 143 |
| 143 #endif // WEBRTC_API_JSEP_H_ | 144 #endif // WEBRTC_API_JSEP_H_ |
| OLD | NEW |