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

Side by Side Diff: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannelTest.cpp

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/websockets/WebSocketChannel.h" 5 #include "modules/websockets/WebSocketChannel.h"
6 6
7 #include "core/dom/DOMArrayBuffer.h" 7 #include "core/dom/DOMArrayBuffer.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/fileapi/Blob.h" 9 #include "core/fileapi/Blob.h"
10 #include "core/frame/ConsoleTypes.h"
11 #include "core/testing/DummyPageHolder.h" 10 #include "core/testing/DummyPageHolder.h"
12 #include "modules/websockets/DocumentWebSocketChannel.h" 11 #include "modules/websockets/DocumentWebSocketChannel.h"
13 #include "modules/websockets/WebSocketChannelClient.h" 12 #include "modules/websockets/WebSocketChannelClient.h"
14 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 #include "platform/v8_inspector/public/ConsoleTypes.h"
15 #include "platform/weborigin/KURL.h" 15 #include "platform/weborigin/KURL.h"
16 #include "public/platform/WebSecurityOrigin.h" 16 #include "public/platform/WebSecurityOrigin.h"
17 #include "public/platform/WebString.h" 17 #include "public/platform/WebString.h"
18 #include "public/platform/WebURL.h" 18 #include "public/platform/WebURL.h"
19 #include "public/platform/WebVector.h" 19 #include "public/platform/WebVector.h"
20 #include "public/platform/modules/websockets/WebSocketHandle.h" 20 #include "public/platform/modules/websockets/WebSocketHandle.h"
21 #include "public/platform/modules/websockets/WebSocketHandleClient.h" 21 #include "public/platform/modules/websockets/WebSocketHandleClient.h"
22 #include "testing/gmock/include/gmock/gmock.h" 22 #include "testing/gmock/include/gmock/gmock.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 #include "wtf/OwnPtr.h" 24 #include "wtf/OwnPtr.h"
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 EXPECT_CALL(*channelClient(), didError()); 679 EXPECT_CALL(*channelClient(), didError());
680 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHa ndshakeIncomplete, WebSocketChannel::CloseEventCodeAbnormalClosure, String())); 680 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHa ndshakeIncomplete, WebSocketChannel::CloseEventCodeAbnormalClosure, String()));
681 } 681 }
682 682
683 channel()->fail("fail message from WebSocket", ErrorMessageLevel, "sourceURL ", 1234); 683 channel()->fail("fail message from WebSocket", ErrorMessageLevel, "sourceURL ", 1234);
684 } 684 }
685 685
686 } // namespace 686 } // namespace
687 687
688 } // namespace blink 688 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698