OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ScriptStreamer_h | 5 #ifndef ScriptStreamer_h |
6 #define ScriptStreamer_h | 6 #define ScriptStreamer_h |
7 | 7 |
8 #include <memory> | |
9 | |
10 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
11 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
12 #include "v8/include/v8.h" | |
13 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
14 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
| 12 #include <memory> |
| 13 #include <v8.h> |
15 | 14 |
16 namespace blink { | 15 namespace blink { |
17 | 16 |
18 class PendingScript; | 17 class PendingScript; |
19 class Resource; | 18 class Resource; |
20 class ScriptResource; | 19 class ScriptResource; |
21 class ScriptState; | 20 class ScriptState; |
22 class Settings; | 21 class Settings; |
23 class SourceStream; | 22 class SourceStream; |
24 class WebTaskRunner; | 23 class WebTaskRunner; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 168 |
170 // Encoding of the streamed script. Saved for sanity checking purposes. | 169 // Encoding of the streamed script. Saved for sanity checking purposes. |
171 v8::ScriptCompiler::StreamedSource::Encoding m_encoding; | 170 v8::ScriptCompiler::StreamedSource::Encoding m_encoding; |
172 | 171 |
173 RefPtr<WebTaskRunner> m_loadingTaskRunner; | 172 RefPtr<WebTaskRunner> m_loadingTaskRunner; |
174 }; | 173 }; |
175 | 174 |
176 } // namespace blink | 175 } // namespace blink |
177 | 176 |
178 #endif // ScriptStreamer_h | 177 #endif // ScriptStreamer_h |
OLD | NEW |