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

Side by Side Diff: third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ParentFrameTaskRunners_h 5 #ifndef ParentFrameTaskRunners_h
6 #define ParentFrameTaskRunners_h 6 #define ParentFrameTaskRunners_h
7 7
8 #include <memory>
8 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
9 #include "core/dom/ContextLifecycleObserver.h" 10 #include "core/dom/ContextLifecycleObserver.h"
10 #include "core/dom/TaskRunnerHelper.h" 11 #include "core/dom/TaskRunnerHelper.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
12 #include "wtf/Allocator.h" 13 #include "wtf/Allocator.h"
13 #include "wtf/Noncopyable.h" 14 #include "wtf/Noncopyable.h"
14 #include "wtf/PtrUtil.h" 15 #include "wtf/PtrUtil.h"
15 #include <memory>
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class LocalFrame; 19 class LocalFrame;
20 class WebTaskRunner; 20 class WebTaskRunner;
21 21
22 // Represents a set of task runners of the parent (or associated) document's 22 // Represents a set of task runners of the parent (or associated) document's
23 // frame. This could be accessed from worker thread(s) and must be initialized 23 // frame. This could be accessed from worker thread(s) and must be initialized
24 // on the parent context thread (i.e. MainThread) on construction time, rather 24 // on the parent context thread (i.e. MainThread) on construction time, rather
25 // than being done lazily. 25 // than being done lazily.
(...skipping 28 matching lines...) Expand all
54 54
55 void contextDestroyed(ExecutionContext*) override; 55 void contextDestroyed(ExecutionContext*) override;
56 56
57 Mutex m_taskRunnersMutex; 57 Mutex m_taskRunnersMutex;
58 TaskRunnerHashMap m_taskRunners; 58 TaskRunnerHashMap m_taskRunners;
59 }; 59 };
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 #endif // ParentFrameTaskRunners_h 63 #endif // ParentFrameTaskRunners_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698