| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 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 #ifndef RTCConfiguration_h | 31 #ifndef RTCConfiguration_h |
| 32 #define RTCConfiguration_h | 32 #define RTCConfiguration_h |
| 33 | 33 |
| 34 #if ENABLE(MEDIA_STREAM) | 34 #if ENABLE(MEDIA_STREAM) |
| 35 | 35 |
| 36 #include "KURL.h" | 36 #include "core/platform/KURL.h" |
| 37 #include <wtf/PassRefPtr.h> | 37 #include <wtf/PassRefPtr.h> |
| 38 #include <wtf/RefCounted.h> | 38 #include <wtf/RefCounted.h> |
| 39 #include <wtf/text/WTFString.h> |
| 39 #include <wtf/Vector.h> | 40 #include <wtf/Vector.h> |
| 40 #include <wtf/text/WTFString.h> | |
| 41 | 41 |
| 42 namespace WebCore { | 42 namespace WebCore { |
| 43 | 43 |
| 44 class RTCIceServer : public RefCounted<RTCIceServer> { | 44 class RTCIceServer : public RefCounted<RTCIceServer> { |
| 45 public: | 45 public: |
| 46 static PassRefPtr<RTCIceServer> create(const KURL& uri, const String& creden
tial) | 46 static PassRefPtr<RTCIceServer> create(const KURL& uri, const String& creden
tial) |
| 47 { | 47 { |
| 48 return adoptRef(new RTCIceServer(uri, credential)); | 48 return adoptRef(new RTCIceServer(uri, credential)); |
| 49 } | 49 } |
| 50 virtual ~RTCIceServer() { } | 50 virtual ~RTCIceServer() { } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 76 RTCConfiguration() { } | 76 RTCConfiguration() { } |
| 77 | 77 |
| 78 Vector<RefPtr<RTCIceServer> > m_servers; | 78 Vector<RefPtr<RTCIceServer> > m_servers; |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace WebCore | 81 } // namespace WebCore |
| 82 | 82 |
| 83 #endif // ENABLE(MEDIA_STREAM) | 83 #endif // ENABLE(MEDIA_STREAM) |
| 84 | 84 |
| 85 #endif // RTCConfiguration_h | 85 #endif // RTCConfiguration_h |
| OLD | NEW |