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 24 matching lines...) Expand all Loading... | |
35 #include "wtf/PassRefPtr.h" | 35 #include "wtf/PassRefPtr.h" |
36 #include "wtf/RefCounted.h" | 36 #include "wtf/RefCounted.h" |
37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
38 #include "public/platform/WebRTCSessionDescription.h" | 38 #include "public/platform/WebRTCSessionDescription.h" |
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 FINAL : public RefCounted<RTCSessionDescription>, pu blic ScriptWrappable { | 45 class RTCSessionDescription FINAL : public RefCountedWillBeGarbageCollected<RTCS essionDescription>, public ScriptWrappable { |
haraken
2014/02/21 10:47:05
This should be RefCountedWillBeGarbageCollectedFin
keishi
2014/02/26 06:14:59
Done.
| |
46 DECLARE_GC_INFO; | |
46 public: | 47 public: |
47 static PassRefPtr<RTCSessionDescription> create(const Dictionary&, Exception State&); | 48 static PassRefPtrWillBeRawPtr<RTCSessionDescription> create(const Dictionary &, ExceptionState&); |
48 static PassRefPtr<RTCSessionDescription> create(blink::WebRTCSessionDescript ion); | 49 static PassRefPtrWillBeRawPtr<RTCSessionDescription> create(blink::WebRTCSes sionDescription); |
49 | 50 |
50 String type(); | 51 String type(); |
51 void setType(const String&, ExceptionState&); | 52 void setType(const String&, ExceptionState&); |
52 | 53 |
53 String sdp(); | 54 String sdp(); |
54 void setSdp(const String&); | 55 void setSdp(const String&); |
55 | 56 |
56 blink::WebRTCSessionDescription webSessionDescription(); | 57 blink::WebRTCSessionDescription webSessionDescription(); |
57 | 58 |
59 void trace(Visitor*) { } | |
60 | |
58 private: | 61 private: |
59 explicit RTCSessionDescription(blink::WebRTCSessionDescription); | 62 explicit RTCSessionDescription(blink::WebRTCSessionDescription); |
60 | 63 |
61 blink::WebRTCSessionDescription m_webSessionDescription; | 64 blink::WebRTCSessionDescription m_webSessionDescription; |
62 }; | 65 }; |
63 | 66 |
64 } // namespace WebCore | 67 } // namespace WebCore |
65 | 68 |
66 #endif // RTCSessionDescription_h | 69 #endif // RTCSessionDescription_h |
OLD | NEW |