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

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

Issue 1318793005: [part 2] Make classes and structures in modules fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/modules/webmidi/MIDIController.h ('k') | Source/modules/websockets/WebSocketFrame.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "core/inspector/InspectorTraceEvents.h" 8 #include "core/inspector/InspectorTraceEvents.h"
9 #include "platform/EventTracer.h" 9 #include "platform/EventTracer.h"
10 #include "platform/TraceEvent.h" 10 #include "platform/TraceEvent.h"
11 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
12 #include "wtf/Forward.h" 12 #include "wtf/Forward.h"
13 #include "wtf/Functional.h" 13 #include "wtf/Functional.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class Document; 17 class Document;
18 class KURL; 18 class KURL;
19 19
20 class InspectorWebSocketCreateEvent { 20 class InspectorWebSocketCreateEvent {
21 STATIC_ONLY(InspectorWebSocketCreateEvent);
21 public: 22 public:
22 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Document*, unsi gned long identifier, const KURL&, const String& protocol); 23 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Document*, unsi gned long identifier, const KURL&, const String& protocol);
23 }; 24 };
24 25
25 class InspectorWebSocketEvent { 26 class InspectorWebSocketEvent {
27 STATIC_ONLY(InspectorWebSocketEvent);
26 public: 28 public:
27 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Document*, unsi gned long identifier); 29 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Document*, unsi gned long identifier);
28 }; 30 };
29 31
30 } // namespace blink 32 } // namespace blink
31 33
32 34
33 #endif // !defined(InspectorWebSocketEvents_h) 35 #endif // !defined(InspectorWebSocketEvents_h)
OLDNEW
« no previous file with comments | « Source/modules/webmidi/MIDIController.h ('k') | Source/modules/websockets/WebSocketFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698