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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 <stdint.h>
8 #include <memory>
7 #include "core/dom/DOMArrayBuffer.h" 9 #include "core/dom/DOMArrayBuffer.h"
8 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
9 #include "core/fileapi/Blob.h" 11 #include "core/fileapi/Blob.h"
10 #include "core/testing/DummyPageHolder.h" 12 #include "core/testing/DummyPageHolder.h"
11 #include "modules/websockets/DocumentWebSocketChannel.h" 13 #include "modules/websockets/DocumentWebSocketChannel.h"
12 #include "modules/websockets/WebSocketChannelClient.h" 14 #include "modules/websockets/WebSocketChannelClient.h"
13 #include "modules/websockets/WebSocketHandle.h" 15 #include "modules/websockets/WebSocketHandle.h"
14 #include "modules/websockets/WebSocketHandleClient.h" 16 #include "modules/websockets/WebSocketHandleClient.h"
15 #include "platform/heap/Handle.h" 17 #include "platform/heap/Handle.h"
16 #include "platform/weborigin/KURL.h" 18 #include "platform/weborigin/KURL.h"
17 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
19 #include "wtf/PtrUtil.h" 21 #include "wtf/PtrUtil.h"
20 #include "wtf/Vector.h" 22 #include "wtf/Vector.h"
21 #include "wtf/text/WTFString.h" 23 #include "wtf/text/WTFString.h"
22 #include <memory>
23 #include <stdint.h>
24 24
25 using testing::_; 25 using testing::_;
26 using testing::InSequence; 26 using testing::InSequence;
27 using testing::PrintToString; 27 using testing::PrintToString;
28 using testing::AnyNumber; 28 using testing::AnyNumber;
29 using testing::SaveArg; 29 using testing::SaveArg;
30 30
31 namespace blink { 31 namespace blink {
32 32
33 namespace { 33 namespace {
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 WebSocketChannel::CloseEventCodeAbnormalClosure, String())); 766 WebSocketChannel::CloseEventCodeAbnormalClosure, String()));
767 } 767 }
768 768
769 channel()->fail("fail message from WebSocket", ErrorMessageLevel, 769 channel()->fail("fail message from WebSocket", ErrorMessageLevel,
770 SourceLocation::create(String(), 0, 0, nullptr)); 770 SourceLocation::create(String(), 0, 0, nullptr));
771 } 771 }
772 772
773 } // namespace 773 } // namespace
774 774
775 } // namespace blink 775 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698