Chromium Code Reviews| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 59 // DEPRECATED | 59 // DEPRECATED |
| 60 bool reliable() const; | 60 bool reliable() const; |
| 61 | 61 |
| 62 bool ordered() const; | 62 bool ordered() const; |
| 63 unsigned short maxRetransmitTime() const; | 63 unsigned short maxRetransmitTime() const; |
| 64 unsigned short maxRetransmits() const; | 64 unsigned short maxRetransmits() const; |
| 65 String protocol() const; | 65 String protocol() const; |
| 66 bool negotiated() const; | 66 bool negotiated() const; |
| 67 unsigned short id() const; | 67 unsigned short id() const; |
| 68 String readyState() const; | 68 String readyState() const; |
| 69 unsigned long bufferedAmount() const; | 69 unsigned bufferedAmount() const; |
|
tommi (sloooow) - chröme
2014/11/13 12:15:26
unsigned int?
eroman
2014/11/13 19:18:07
While I personally agree with you, the style in Bl
| |
| 70 | 70 |
| 71 String binaryType() const; | 71 String binaryType() const; |
| 72 void setBinaryType(const String&, ExceptionState&); | 72 void setBinaryType(const String&, ExceptionState&); |
| 73 | 73 |
| 74 void send(const String&, ExceptionState&); | 74 void send(const String&, ExceptionState&); |
| 75 void send(PassRefPtr<DOMArrayBuffer>, ExceptionState&); | 75 void send(PassRefPtr<DOMArrayBuffer>, ExceptionState&); |
| 76 void send(PassRefPtr<DOMArrayBufferView>, ExceptionState&); | 76 void send(PassRefPtr<DOMArrayBufferView>, ExceptionState&); |
| 77 void send(Blob*, ExceptionState&); | 77 void send(Blob*, ExceptionState&); |
| 78 | 78 |
| 79 void close(); | 79 void close(); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 120 | 120 |
| 121 Timer<RTCDataChannel> m_scheduledEventTimer; | 121 Timer<RTCDataChannel> m_scheduledEventTimer; |
| 122 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents; | 122 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents; |
| 123 | 123 |
| 124 WeakMember<RTCPeerConnection> m_connection; | 124 WeakMember<RTCPeerConnection> m_connection; |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 } // namespace blink | 127 } // namespace blink |
| 128 | 128 |
| 129 #endif // RTCDataChannel_h | 129 #endif // RTCDataChannel_h |
| OLD | NEW |