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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h

Issue 1680503002: Tidy up inclusion of WebScheduler.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CancellableTaskFactory_h 5 #ifndef CancellableTaskFactory_h
6 #define CancellableTaskFactory_h 6 #define CancellableTaskFactory_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/platform/WebScheduler.h" 10 #include "public/platform/WebTaskRunner.h"
11 #include "wtf/Allocator.h" 11 #include "wtf/Allocator.h"
12 #include "wtf/Functional.h" 12 #include "wtf/Functional.h"
13 #include "wtf/Noncopyable.h" 13 #include "wtf/Noncopyable.h"
14 #include "wtf/OwnPtr.h" 14 #include "wtf/OwnPtr.h"
15 #include "wtf/PassOwnPtr.h" 15 #include "wtf/PassOwnPtr.h"
16 #include "wtf/RefCounted.h"
17 #include "wtf/WeakPtr.h" 16 #include "wtf/WeakPtr.h"
18 #include <type_traits> 17 #include <type_traits>
19 18
20 namespace blink { 19 namespace blink {
21 20
22 class TraceLocation; 21 class TraceLocation;
23 22
24 class PLATFORM_EXPORT CancellableTaskFactory { 23 class PLATFORM_EXPORT CancellableTaskFactory {
25 WTF_MAKE_NONCOPYABLE(CancellableTaskFactory); 24 WTF_MAKE_NONCOPYABLE(CancellableTaskFactory);
26 USING_FAST_MALLOC(CancellableTaskFactory); 25 USING_FAST_MALLOC(CancellableTaskFactory);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 WeakPtr<CancellableTaskFactory> m_weakPtr; 85 WeakPtr<CancellableTaskFactory> m_weakPtr;
87 }; 86 };
88 87
89 OwnPtr<Closure> m_closure; 88 OwnPtr<Closure> m_closure;
90 WeakPtrFactory<CancellableTaskFactory> m_weakPtrFactory; 89 WeakPtrFactory<CancellableTaskFactory> m_weakPtrFactory;
91 }; 90 };
92 91
93 } // namespace blink 92 } // namespace blink
94 93
95 #endif // CancellableTaskFactory_h 94 #endif // CancellableTaskFactory_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698