Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelTest.cpp

Issue 2616023004: Remove NoExceptionStateAssertionChecker (Closed)
Patch Set: temp Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/peerconnection/RTCDataChannel.h" 5 #include "modules/peerconnection/RTCDataChannel.h"
6 6
7 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/dom/DOMArrayBuffer.h" 8 #include "core/dom/DOMArrayBuffer.h"
9 #include "core/dom/DOMException.h" 9 #include "core/dom/DOMException.h"
10 #include "core/events/Event.h" 10 #include "core/events/Event.h"
11 #include "platform/heap/Heap.h" 11 #include "platform/heap/Heap.h"
12 #include "public/platform/WebRTCDataChannelHandler.h" 12 #include "public/platform/WebRTCDataChannelHandler.h"
13 #include "public/platform/WebVector.h" 13 #include "public/platform/WebVector.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "wtf/PtrUtil.h" 15 #include "wtf/PtrUtil.h"
16 #include "wtf/RefPtr.h" 16 #include "wtf/RefPtr.h"
17 #include "wtf/text/WTFString.h" 17 #include "wtf/text/WTFString.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 handler->drainBuffer(1); 141 handler->drainBuffer(1);
142 EXPECT_EQ(97U, channel->bufferedAmount()); 142 EXPECT_EQ(97U, channel->bufferedAmount());
143 EXPECT_EQ(5U, channel->m_scheduledEvents.size()); // New event. 143 EXPECT_EQ(5U, channel->m_scheduledEvents.size()); // New event.
144 EXPECT_EQ( 144 EXPECT_EQ(
145 "bufferedamountlow", 145 "bufferedamountlow",
146 std::string(channel->m_scheduledEvents.back()->type().utf8().data())); 146 std::string(channel->m_scheduledEvents.back()->type().utf8().data()));
147 } 147 }
148 148
149 } // namespace blink 149 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698