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

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

Issue 295063002: [NotLanded] Implement the fetching algorithm of the Web Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update comments Created 6 years, 3 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/Document.h"
8 #include "core/fileapi/Blob.h" 9 #include "core/fileapi/Blob.h"
9 #include "core/frame/ConsoleTypes.h" 10 #include "core/frame/ConsoleTypes.h"
10 #include "core/testing/DummyPageHolder.h" 11 #include "core/testing/DummyPageHolder.h"
11 #include "modules/websockets/NewWebSocketChannelImpl.h" 12 #include "modules/websockets/NewWebSocketChannelImpl.h"
12 #include "modules/websockets/WebSocketChannelClient.h" 13 #include "modules/websockets/WebSocketChannelClient.h"
13 #include "platform/heap/Handle.h" 14 #include "platform/heap/Handle.h"
14 #include "platform/weborigin/KURL.h" 15 #include "platform/weborigin/KURL.h"
15 #include "public/platform/WebSerializedOrigin.h" 16 #include "public/platform/WebSerializedOrigin.h"
16 #include "public/platform/WebSocketHandle.h" 17 #include "public/platform/WebSocketHandle.h"
17 #include "public/platform/WebSocketHandleClient.h" 18 #include "public/platform/WebSocketHandleClient.h"
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 EXPECT_CALL(*channelClient(), didReceiveMessageError()); 734 EXPECT_CALL(*channelClient(), didReceiveMessageError());
734 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHa ndshakeIncomplete, WebSocketChannel::CloseEventCodeAbnormalClosure, String())); 735 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHa ndshakeIncomplete, WebSocketChannel::CloseEventCodeAbnormalClosure, String()));
735 } 736 }
736 737
737 channel()->fail("fail message from WebSocket", ErrorMessageLevel, "sourceURL ", 1234); 738 channel()->fail("fail message from WebSocket", ErrorMessageLevel, "sourceURL ", 1234);
738 } 739 }
739 740
740 } // namespace 741 } // namespace
741 742
742 } // namespace blink 743 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698