| 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 28 matching lines...) Expand all  Loading... | 
|  39  |  39  | 
|  40 namespace WebCore { |  40 namespace WebCore { | 
|  41  |  41  | 
|  42 class Dictionary; |  42 class Dictionary; | 
|  43 class ExceptionState; |  43 class ExceptionState; | 
|  44  |  44  | 
|  45 class RTCSessionDescription : public RefCounted<RTCSessionDescription>, public S
    criptWrappable { |  45 class RTCSessionDescription : public RefCounted<RTCSessionDescription>, public S
    criptWrappable { | 
|  46 public: |  46 public: | 
|  47     static PassRefPtr<RTCSessionDescription> create(const Dictionary&, Exception
    State&); |  47     static PassRefPtr<RTCSessionDescription> create(const Dictionary&, Exception
    State&); | 
|  48     static PassRefPtr<RTCSessionDescription> create(WebKit::WebRTCSessionDescrip
    tion); |  48     static PassRefPtr<RTCSessionDescription> create(WebKit::WebRTCSessionDescrip
    tion); | 
|  49     virtual ~RTCSessionDescription(); |  | 
|  50  |  49  | 
|  51     String type(); |  50     String type(); | 
|  52     void setType(const String&, ExceptionState&); |  51     void setType(const String&, ExceptionState&); | 
|  53  |  52  | 
|  54     String sdp(); |  53     String sdp(); | 
|  55     void setSdp(const String&); |  54     void setSdp(const String&); | 
|  56  |  55  | 
|  57     WebKit::WebRTCSessionDescription webSessionDescription(); |  56     WebKit::WebRTCSessionDescription webSessionDescription(); | 
|  58  |  57  | 
|  59 private: |  58 private: | 
|  60     explicit RTCSessionDescription(WebKit::WebRTCSessionDescription); |  59     explicit RTCSessionDescription(WebKit::WebRTCSessionDescription); | 
|  61  |  60  | 
|  62     WebKit::WebRTCSessionDescription m_webSessionDescription; |  61     WebKit::WebRTCSessionDescription m_webSessionDescription; | 
|  63 }; |  62 }; | 
|  64  |  63  | 
|  65 } // namespace WebCore |  64 } // namespace WebCore | 
|  66  |  65  | 
|  67 #endif // RTCSessionDescription_h |  66 #endif // RTCSessionDescription_h | 
| OLD | NEW |