OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 | 32 |
33 #include "public/platform/WebRTCSessionDescriptionRequest.h" | 33 #include "public/platform/WebRTCSessionDescriptionRequest.h" |
34 | 34 |
35 #include "platform/mediastream/RTCSessionDescriptionRequest.h" | 35 #include "platform/mediastream/RTCSessionDescriptionRequest.h" |
36 #include "public/platform/WebRTCSessionDescription.h" | 36 #include "public/platform/WebRTCSessionDescription.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
| 38 #include "wtf/text/WTFString.h" |
38 | 39 |
39 namespace blink { | 40 namespace blink { |
40 | 41 |
41 WebRTCSessionDescriptionRequest::WebRTCSessionDescriptionRequest(RTCSessionDescr
iptionRequest* constraints) | 42 WebRTCSessionDescriptionRequest::WebRTCSessionDescriptionRequest(RTCSessionDescr
iptionRequest* constraints) |
42 : m_private(constraints) | 43 : m_private(constraints) |
43 { | 44 { |
44 } | 45 } |
45 | 46 |
46 void WebRTCSessionDescriptionRequest::assign(const WebRTCSessionDescriptionReque
st& other) | 47 void WebRTCSessionDescriptionRequest::assign(const WebRTCSessionDescriptionReque
st& other) |
47 { | 48 { |
(...skipping 11 matching lines...) Expand all Loading... |
59 m_private->requestSucceeded(sessionDescription); | 60 m_private->requestSucceeded(sessionDescription); |
60 } | 61 } |
61 | 62 |
62 void WebRTCSessionDescriptionRequest::requestFailed(const WebString& error) cons
t | 63 void WebRTCSessionDescriptionRequest::requestFailed(const WebString& error) cons
t |
63 { | 64 { |
64 ASSERT(m_private.get()); | 65 ASSERT(m_private.get()); |
65 m_private->requestFailed(error); | 66 m_private->requestFailed(error); |
66 } | 67 } |
67 | 68 |
68 } // namespace blink | 69 } // namespace blink |
OLD | NEW |