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

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

Issue 1240083002: Remove 'blink::WebSerializedOrigin' (2/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 "config.h" 5 #include "config.h"
6 #include "modules/websockets/WebSocketChannel.h" 6 #include "modules/websockets/WebSocketChannel.h"
7 7
8 #include "core/dom/DOMArrayBuffer.h" 8 #include "core/dom/DOMArrayBuffer.h"
9 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
10 #include "core/fileapi/Blob.h" 10 #include "core/fileapi/Blob.h"
11 #include "core/frame/ConsoleTypes.h" 11 #include "core/frame/ConsoleTypes.h"
12 #include "core/testing/DummyPageHolder.h" 12 #include "core/testing/DummyPageHolder.h"
13 #include "modules/websockets/DocumentWebSocketChannel.h" 13 #include "modules/websockets/DocumentWebSocketChannel.h"
14 #include "modules/websockets/WebSocketChannelClient.h" 14 #include "modules/websockets/WebSocketChannelClient.h"
15 #include "platform/heap/Handle.h" 15 #include "platform/heap/Handle.h"
16 #include "platform/weborigin/KURL.h" 16 #include "platform/weborigin/KURL.h"
17 #include "public/platform/WebSecurityOrigin.h"
17 #include "public/platform/WebSerializedOrigin.h" 18 #include "public/platform/WebSerializedOrigin.h"
18 #include "public/platform/WebSocketHandle.h" 19 #include "public/platform/WebSocketHandle.h"
19 #include "public/platform/WebSocketHandleClient.h" 20 #include "public/platform/WebSocketHandleClient.h"
20 #include "public/platform/WebString.h" 21 #include "public/platform/WebString.h"
21 #include "public/platform/WebURL.h" 22 #include "public/platform/WebURL.h"
22 #include "public/platform/WebVector.h" 23 #include "public/platform/WebVector.h"
23 #include "wtf/OwnPtr.h" 24 #include "wtf/OwnPtr.h"
24 #include "wtf/Vector.h" 25 #include "wtf/Vector.h"
25 #include "wtf/text/WTFString.h" 26 #include "wtf/text/WTFString.h"
26 #include <stdint.h> 27 #include <stdint.h>
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 EXPECT_CALL(*channelClient(), didError()); 682 EXPECT_CALL(*channelClient(), didError());
682 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHa ndshakeIncomplete, WebSocketChannel::CloseEventCodeAbnormalClosure, String())); 683 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHa ndshakeIncomplete, WebSocketChannel::CloseEventCodeAbnormalClosure, String()));
683 } 684 }
684 685
685 channel()->fail("fail message from WebSocket", ErrorMessageLevel, "sourceURL ", 1234); 686 channel()->fail("fail message from WebSocket", ErrorMessageLevel, "sourceURL ", 1234);
686 } 687 }
687 688
688 } // namespace 689 } // namespace
689 690
690 } // namespace blink 691 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/websockets/DocumentWebSocketChannel.cpp ('k') | Source/platform/exported/WebSerializedOrigin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698