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

Side by Side Diff: third_party/WebKit/Source/core/workers/WorkerEventQueue.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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) 2010 Google Inc. All Rights Reserved. 2 * Copyright (C) 2010 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 * 24 *
25 */ 25 */
26 26
27 #ifndef WorkerEventQueue_h 27 #ifndef WorkerEventQueue_h
28 #define WorkerEventQueue_h 28 #define WorkerEventQueue_h
29 29
30 #include "core/events/EventQueue.h" 30 #include "core/events/EventQueue.h"
31 #include "wtf/HashMap.h" 31 #include "wtf/HashMap.h"
32 #include "wtf/HashSet.h" 32 #include "wtf/HashSet.h"
33 #include "wtf/PassOwnPtr.h"
34 #include "wtf/RefCounted.h"
35 33
36 namespace blink { 34 namespace blink {
37 35
38 class Event; 36 class Event;
39 class ExecutionContext; 37 class ExecutionContext;
40 38
41 class WorkerEventQueue final : public EventQueue { 39 class WorkerEventQueue final : public EventQueue {
42 public: 40 public:
43 41
44 static WorkerEventQueue* create(ExecutionContext*); 42 static WorkerEventQueue* create(ExecutionContext*);
(...skipping 13 matching lines...) Expand all
58 bool m_isClosed; 56 bool m_isClosed;
59 57
60 class EventDispatcherTask; 58 class EventDispatcherTask;
61 using EventTaskMap = HeapHashMap<Member<Event>, EventDispatcherTask*>; 59 using EventTaskMap = HeapHashMap<Member<Event>, EventDispatcherTask*>;
62 EventTaskMap m_eventTaskMap; 60 EventTaskMap m_eventTaskMap;
63 }; 61 };
64 62
65 } // namespace blink 63 } // namespace blink
66 64
67 #endif // WorkerEventQueue_h 65 #endif // WorkerEventQueue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerConsole.h ('k') | third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698