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

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

Issue 334263022: Include wtf/RefCounted.h less often in modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "core/dom/ActiveDOMObject.h" 35 #include "core/dom/ActiveDOMObject.h"
36 #include "core/events/EventListener.h" 36 #include "core/events/EventListener.h"
37 #include "modules/EventTargetModules.h" 37 #include "modules/EventTargetModules.h"
38 #include "modules/websockets/WebSocketChannel.h" 38 #include "modules/websockets/WebSocketChannel.h"
39 #include "modules/websockets/WebSocketChannelClient.h" 39 #include "modules/websockets/WebSocketChannelClient.h"
40 #include "platform/Timer.h" 40 #include "platform/Timer.h"
41 #include "platform/heap/Handle.h" 41 #include "platform/heap/Handle.h"
42 #include "platform/weborigin/KURL.h" 42 #include "platform/weborigin/KURL.h"
43 #include "wtf/Deque.h" 43 #include "wtf/Deque.h"
44 #include "wtf/Forward.h" 44 #include "wtf/Forward.h"
45 #include "wtf/OwnPtr.h"
46 #include "wtf/RefCounted.h" 45 #include "wtf/RefCounted.h"
47 #include "wtf/text/AtomicStringHash.h" 46 #include "wtf/text/AtomicStringHash.h"
48 47
49 namespace WebCore { 48 namespace WebCore {
50 49
51 class Blob; 50 class Blob;
52 class ExceptionState; 51 class ExceptionState;
53 52
54 class WebSocket : public RefCountedWillBeRefCountedGarbageCollected<WebSocket>, public ScriptWrappable, public EventTargetWithInlineData, public ActiveDOMObject , public WebSocketChannelClient { 53 class WebSocket : public RefCountedWillBeRefCountedGarbageCollected<WebSocket>, public ScriptWrappable, public EventTargetWithInlineData, public ActiveDOMObject , public WebSocketChannelClient {
55 REFCOUNTED_EVENT_TARGET(WebSocket); 54 REFCOUNTED_EVENT_TARGET(WebSocket);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 String m_subprotocol; 230 String m_subprotocol;
232 String m_extensions; 231 String m_extensions;
233 232
234 RefPtrWillBeMember<EventQueue> m_eventQueue; 233 RefPtrWillBeMember<EventQueue> m_eventQueue;
235 Timer<WebSocket> m_bufferedAmountConsumeTimer; 234 Timer<WebSocket> m_bufferedAmountConsumeTimer;
236 }; 235 };
237 236
238 } // namespace WebCore 237 } // namespace WebCore
239 238
240 #endif // WebSocket_h 239 #endif // WebSocket_h
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h ('k') | Source/modules/websockets/WebSocketChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698