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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 | 32 |
33 #include "public/platform/WebRTCConfiguration.h" | 33 #include "public/platform/WebRTCConfiguration.h" |
34 | 34 |
35 #include "platform/mediastream/RTCConfiguration.h" | 35 #include "platform/mediastream/RTCConfiguration.h" |
36 #include "public/platform/WebString.h" | 36 #include "public/platform/WebString.h" |
37 #include "public/platform/WebURL.h" | 37 #include "public/platform/WebURL.h" |
38 #include "public/platform/WebVector.h" | 38 #include "public/platform/WebVector.h" |
39 | 39 |
40 using namespace blink; | |
41 | |
42 namespace blink { | 40 namespace blink { |
43 | 41 |
44 WebRTCICEServer::WebRTCICEServer(const PassRefPtr<RTCIceServer>& iceServer) | 42 WebRTCICEServer::WebRTCICEServer(const PassRefPtr<RTCIceServer>& iceServer) |
45 : m_private(iceServer) | 43 : m_private(iceServer) |
46 { | 44 { |
47 } | 45 } |
48 | 46 |
49 void WebRTCICEServer::assign(const WebRTCICEServer& other) | 47 void WebRTCICEServer::assign(const WebRTCICEServer& other) |
50 { | 48 { |
51 m_private = other.m_private; | 49 m_private = other.m_private; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 return WebRTCIceTransportsRelay; | 109 return WebRTCIceTransportsRelay; |
112 case RTCIceTransportsAll: | 110 case RTCIceTransportsAll: |
113 return WebRTCIceTransportsAll; | 111 return WebRTCIceTransportsAll; |
114 default: | 112 default: |
115 ASSERT_NOT_REACHED(); | 113 ASSERT_NOT_REACHED(); |
116 } | 114 } |
117 return WebRTCIceTransportsAll; | 115 return WebRTCIceTransportsAll; |
118 } | 116 } |
119 | 117 |
120 } // namespace blink | 118 } // namespace blink |
OLD | NEW |