| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 Modulator_h | 5 #ifndef Modulator_h |
| 6 #define Modulator_h | 6 #define Modulator_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "bindings/core/v8/V8PerContextData.h" | 9 #include "bindings/core/v8/V8PerContextData.h" |
| 10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "platform/loader/fetch/AccessControlStatus.h" | 12 #include "platform/loader/fetch/AccessControlStatus.h" |
| 13 #include "platform/weborigin/KURL.h" | 13 #include "platform/weborigin/KURL.h" |
| 14 #include "platform/weborigin/ReferrerPolicy.h" | 14 #include "platform/weborigin/ReferrerPolicy.h" |
| 15 #include "wtf/text/WTFString.h" | 15 #include "platform/wtf/text/WTFString.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class ModuleScript; | 19 class ModuleScript; |
| 20 class ModuleScriptFetchRequest; | 20 class ModuleScriptFetchRequest; |
| 21 class ModuleScriptLoaderClient; | 21 class ModuleScriptLoaderClient; |
| 22 class ScriptModule; | 22 class ScriptModule; |
| 23 class ScriptModuleResolver; | 23 class ScriptModuleResolver; |
| 24 class ScriptState; | 24 class ScriptState; |
| 25 class ScriptValue; | 25 class ScriptValue; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // if the cached entry doesn't exist. | 88 // if the cached entry doesn't exist. |
| 89 // The client can be notified either synchronously or asynchronously. | 89 // The client can be notified either synchronously or asynchronously. |
| 90 virtual void FetchNewSingleModule(const ModuleScriptFetchRequest&, | 90 virtual void FetchNewSingleModule(const ModuleScriptFetchRequest&, |
| 91 ModuleGraphLevel, | 91 ModuleGraphLevel, |
| 92 ModuleScriptLoaderClient*) = 0; | 92 ModuleScriptLoaderClient*) = 0; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace blink | 95 } // namespace blink |
| 96 | 96 |
| 97 #endif | 97 #endif |
| OLD | NEW |