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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 // EventTarget | 98 // EventTarget |
99 const AtomicString& interfaceName() const override; | 99 const AtomicString& interfaceName() const override; |
100 ExecutionContext* getExecutionContext() const override; | 100 ExecutionContext* getExecutionContext() const override; |
101 | 101 |
102 // ActiveDOMObject | 102 // ActiveDOMObject |
103 void suspend() override; | 103 void suspend() override; |
104 void resume() override; | 104 void resume() override; |
105 void stop() override; | 105 void stop() override; |
106 | 106 |
107 // ActiveScriptWrappable | 107 // ScriptWrappable |
108 bool hasPendingActivity() const override; | 108 bool hasPendingActivity() const override; |
109 | 109 |
110 DECLARE_VIRTUAL_TRACE(); | 110 DECLARE_VIRTUAL_TRACE(); |
111 | 111 |
112 // WebRTCDataChannelHandlerClient | 112 // WebRTCDataChannelHandlerClient |
113 void didChangeReadyState(WebRTCDataChannelHandlerClient::ReadyState) overrid
e; | 113 void didChangeReadyState(WebRTCDataChannelHandlerClient::ReadyState) overrid
e; |
114 void didDecreaseBufferedAmount(unsigned) override; | 114 void didDecreaseBufferedAmount(unsigned) override; |
115 void didReceiveStringData(const WebString&) override; | 115 void didReceiveStringData(const WebString&) override; |
116 void didReceiveRawData(const char*, size_t) override; | 116 void didReceiveRawData(const char*, size_t) override; |
117 void didDetectError() override; | 117 void didDetectError() override; |
(...skipping 21 matching lines...) Expand all Loading... |
139 unsigned m_bufferedAmountLowThreshold; | 139 unsigned m_bufferedAmountLowThreshold; |
140 | 140 |
141 bool m_stopped; | 141 bool m_stopped; |
142 | 142 |
143 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); | 143 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); |
144 }; | 144 }; |
145 | 145 |
146 } // namespace blink | 146 } // namespace blink |
147 | 147 |
148 #endif // RTCDataChannel_h | 148 #endif // RTCDataChannel_h |
OLD | NEW |