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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 String readyState() const; | 70 String readyState() const; |
71 unsigned bufferedAmount() const; | 71 unsigned bufferedAmount() const; |
72 | 72 |
73 unsigned bufferedAmountLowThreshold() const; | 73 unsigned bufferedAmountLowThreshold() const; |
74 void setBufferedAmountLowThreshold(unsigned); | 74 void setBufferedAmountLowThreshold(unsigned); |
75 | 75 |
76 String binaryType() const; | 76 String binaryType() const; |
77 void setBinaryType(const String&, ExceptionState&); | 77 void setBinaryType(const String&, ExceptionState&); |
78 | 78 |
79 void send(const String&, ExceptionState&); | 79 void send(const String&, ExceptionState&); |
80 void send(PassRefPtr<DOMArrayBuffer>, ExceptionState&); | 80 void send(DOMArrayBuffer*, ExceptionState&); |
81 void send(PassRefPtr<DOMArrayBufferView>, ExceptionState&); | 81 void send(DOMArrayBufferView*, ExceptionState&); |
82 void send(Blob*, ExceptionState&); | 82 void send(Blob*, ExceptionState&); |
83 | 83 |
84 void close(); | 84 void close(); |
85 | 85 |
86 DEFINE_ATTRIBUTE_EVENT_LISTENER(open); | 86 DEFINE_ATTRIBUTE_EVENT_LISTENER(open); |
87 DEFINE_ATTRIBUTE_EVENT_LISTENER(bufferedamountlow); | 87 DEFINE_ATTRIBUTE_EVENT_LISTENER(bufferedamountlow); |
88 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); | 88 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
89 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); | 89 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); |
90 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); | 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); |
91 | 91 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 HeapVector<Member<Event>> m_scheduledEvents; | 126 HeapVector<Member<Event>> m_scheduledEvents; |
127 | 127 |
128 unsigned m_bufferedAmountLowThreshold; | 128 unsigned m_bufferedAmountLowThreshold; |
129 | 129 |
130 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); | 130 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); |
131 }; | 131 }; |
132 | 132 |
133 } // namespace blink | 133 } // namespace blink |
134 | 134 |
135 #endif // RTCDataChannel_h | 135 #endif // RTCDataChannel_h |
OLD | NEW |