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

Side by Side Diff: third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.h

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 #ifndef InspectorWebSocketEvents_h 5 #ifndef InspectorWebSocketEvents_h
6 #define InspectorWebSocketEvents_h 6 #define InspectorWebSocketEvents_h
7 7
8 #include <memory>
8 #include "core/inspector/InspectorTraceEvents.h" 9 #include "core/inspector/InspectorTraceEvents.h"
9 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
10 #include "platform/instrumentation/tracing/TraceEvent.h" 11 #include "platform/instrumentation/tracing/TraceEvent.h"
11 #include "platform/instrumentation/tracing/TracedValue.h" 12 #include "platform/instrumentation/tracing/TracedValue.h"
12 #include "wtf/Forward.h" 13 #include "wtf/Forward.h"
13 #include "wtf/Functional.h" 14 #include "wtf/Functional.h"
14 #include <memory>
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class Document; 18 class Document;
19 class KURL; 19 class KURL;
20 20
21 class InspectorWebSocketCreateEvent { 21 class InspectorWebSocketCreateEvent {
22 STATIC_ONLY(InspectorWebSocketCreateEvent); 22 STATIC_ONLY(InspectorWebSocketCreateEvent);
23 23
24 public: 24 public:
25 static std::unique_ptr<TracedValue> data(Document*, 25 static std::unique_ptr<TracedValue> data(Document*,
26 unsigned long identifier, 26 unsigned long identifier,
27 const KURL&, 27 const KURL&,
28 const String& protocol); 28 const String& protocol);
29 }; 29 };
30 30
31 class InspectorWebSocketEvent { 31 class InspectorWebSocketEvent {
32 STATIC_ONLY(InspectorWebSocketEvent); 32 STATIC_ONLY(InspectorWebSocketEvent);
33 33
34 public: 34 public:
35 static std::unique_ptr<TracedValue> data(Document*, unsigned long identifier); 35 static std::unique_ptr<TracedValue> data(Document*, unsigned long identifier);
36 }; 36 };
37 37
38 } // namespace blink 38 } // namespace blink
39 39
40 #endif // !defined(InspectorWebSocketEvents_h) 40 #endif // !defined(InspectorWebSocketEvents_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698