| 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 10 matching lines...) Expand all Loading... |
| 21 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 21 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #ifndef RTCDataChannel_h | 25 #ifndef RTCDataChannel_h |
| 26 #define RTCDataChannel_h | 26 #define RTCDataChannel_h |
| 27 | 27 |
| 28 #include <memory> | 28 #include <memory> |
| 29 #include "base/gtest_prod_util.h" | 29 #include "base/gtest_prod_util.h" |
| 30 #include "bindings/core/v8/ActiveScriptWrappable.h" | 30 #include "bindings/core/v8/ActiveScriptWrappable.h" |
| 31 #include "core/dom/NotShared.h" | 31 #include "core/dom/ArrayBufferViewHelpers.h" |
| 32 #include "core/dom/SuspendableObject.h" | 32 #include "core/dom/SuspendableObject.h" |
| 33 #include "modules/EventTargetModules.h" | 33 #include "modules/EventTargetModules.h" |
| 34 #include "platform/Timer.h" | 34 #include "platform/Timer.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "platform/wtf/Compiler.h" | 36 #include "platform/wtf/Compiler.h" |
| 37 #include "public/platform/WebRTCDataChannelHandler.h" | 37 #include "public/platform/WebRTCDataChannelHandler.h" |
| 38 #include "public/platform/WebRTCDataChannelHandlerClient.h" | 38 #include "public/platform/WebRTCDataChannelHandlerClient.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 unsigned buffered_amount_low_threshold_; | 142 unsigned buffered_amount_low_threshold_; |
| 143 | 143 |
| 144 bool stopped_; | 144 bool stopped_; |
| 145 | 145 |
| 146 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); | 146 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 } // namespace blink | 149 } // namespace blink |
| 150 | 150 |
| 151 #endif // RTCDataChannel_h | 151 #endif // RTCDataChannel_h |
| OLD | NEW |