OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #ifndef ScriptRunner_h | 26 #ifndef ScriptRunner_h |
27 #define ScriptRunner_h | 27 #define ScriptRunner_h |
28 | 28 |
29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "wtf/Deque.h" | 31 #include "wtf/Deque.h" |
32 #include "wtf/HashMap.h" | 32 #include "wtf/HashMap.h" |
33 #include "wtf/Noncopyable.h" | 33 #include "wtf/Noncopyable.h" |
34 #include "wtf/PassOwnPtr.h" | |
35 | 34 |
36 namespace blink { | 35 namespace blink { |
37 | 36 |
38 class CancellableTaskFactory; | 37 class CancellableTaskFactory; |
39 class Document; | 38 class Document; |
40 class ScriptLoader; | 39 class ScriptLoader; |
41 class WebTaskRunner; | 40 class WebTaskRunner; |
42 | 41 |
43 class CORE_EXPORT ScriptRunner final : public GarbageCollectedFinalized<ScriptRu
nner> { | 42 class CORE_EXPORT ScriptRunner final : public GarbageCollectedFinalized<ScriptRu
nner> { |
44 WTF_MAKE_NONCOPYABLE(ScriptRunner); | 43 WTF_MAKE_NONCOPYABLE(ScriptRunner); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 98 |
100 #if !ENABLE(OILPAN) | 99 #if !ENABLE(OILPAN) |
101 bool m_isDisposed; | 100 bool m_isDisposed; |
102 WeakPtrFactory<ScriptRunner> m_weakPointerFactoryForTasks; | 101 WeakPtrFactory<ScriptRunner> m_weakPointerFactoryForTasks; |
103 #endif | 102 #endif |
104 }; | 103 }; |
105 | 104 |
106 } // namespace blink | 105 } // namespace blink |
107 | 106 |
108 #endif // ScriptRunner_h | 107 #endif // ScriptRunner_h |
OLD | NEW |