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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // DEPRECATED | 53 // DEPRECATED |
54 bool reliable() const; | 54 bool reliable() const; |
55 | 55 |
56 bool ordered() const; | 56 bool ordered() const; |
57 unsigned short maxRetransmitTime() const; | 57 unsigned short maxRetransmitTime() const; |
58 unsigned short maxRetransmits() const; | 58 unsigned short maxRetransmits() const; |
59 String protocol() const; | 59 String protocol() const; |
60 bool negotiated() const; | 60 bool negotiated() const; |
61 unsigned short id() const; | 61 unsigned short id() const; |
62 String readyState() const; | 62 String readyState() const; |
63 unsigned long bufferedAmount() const; | 63 unsigned bufferedAmount() const; |
64 | 64 |
65 String binaryType() const; | 65 String binaryType() const; |
66 void setBinaryType(const String&, ExceptionState&); | 66 void setBinaryType(const String&, ExceptionState&); |
67 | 67 |
68 void send(const String&, ExceptionState&); | 68 void send(const String&, ExceptionState&); |
69 void send(PassRefPtr<ArrayBuffer>, ExceptionState&); | 69 void send(PassRefPtr<ArrayBuffer>, ExceptionState&); |
70 void send(PassRefPtr<ArrayBufferView>, ExceptionState&); | 70 void send(PassRefPtr<ArrayBufferView>, ExceptionState&); |
71 void send(PassRefPtr<Blob>, ExceptionState&); | 71 void send(PassRefPtr<Blob>, ExceptionState&); |
72 | 72 |
73 void close(); | 73 void close(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 }; | 117 }; |
118 BinaryType m_binaryType; | 118 BinaryType m_binaryType; |
119 | 119 |
120 Timer<RTCDataChannel> m_scheduledEventTimer; | 120 Timer<RTCDataChannel> m_scheduledEventTimer; |
121 Vector<RefPtr<Event> > m_scheduledEvents; | 121 Vector<RefPtr<Event> > m_scheduledEvents; |
122 }; | 122 }; |
123 | 123 |
124 } // namespace WebCore | 124 } // namespace WebCore |
125 | 125 |
126 #endif // RTCDataChannel_h | 126 #endif // RTCDataChannel_h |
OLD | NEW |