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