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 21 matching lines...) Expand all Loading... |
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 WebCore; | 40 using namespace WebCore; |
41 | 41 |
42 namespace WebKit { | 42 namespace blink { |
43 | 43 |
44 WebRTCICEServer::WebRTCICEServer(const PassRefPtr<RTCIceServer>& iceServer) | 44 WebRTCICEServer::WebRTCICEServer(const PassRefPtr<RTCIceServer>& iceServer) |
45 : m_private(iceServer) | 45 : m_private(iceServer) |
46 { | 46 { |
47 } | 47 } |
48 | 48 |
49 void WebRTCICEServer::assign(const WebRTCICEServer& other) | 49 void WebRTCICEServer::assign(const WebRTCICEServer& other) |
50 { | 50 { |
51 m_private = other.m_private; | 51 m_private = other.m_private; |
52 } | 52 } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 ASSERT(!isNull()); | 94 ASSERT(!isNull()); |
95 return m_private->numberOfServers(); | 95 return m_private->numberOfServers(); |
96 } | 96 } |
97 | 97 |
98 WebRTCICEServer WebRTCConfiguration::server(size_t index) const | 98 WebRTCICEServer WebRTCConfiguration::server(size_t index) const |
99 { | 99 { |
100 ASSERT(!isNull()); | 100 ASSERT(!isNull()); |
101 return WebRTCICEServer(m_private->server(index)); | 101 return WebRTCICEServer(m_private->server(index)); |
102 } | 102 } |
103 | 103 |
104 } // namespace WebKit | 104 } // namespace blink |
OLD | NEW |