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

Side by Side Diff: third_party/WebKit/Source/core/testing/DummyModulator.cpp

Issue 2801073003: [local; kouhei 1][ES6 modules] Introduce ScriptModuleResolverImpl (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/DummyModulator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "core/testing/DummyModulator.h" 5 #include "core/testing/DummyModulator.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 DummyModulator::DummyModulator() {} 9 DummyModulator::DummyModulator() {}
10 10
(...skipping 16 matching lines...) Expand all
27 ScriptModuleResolver* DummyModulator::scriptModuleResolver() { 27 ScriptModuleResolver* DummyModulator::scriptModuleResolver() {
28 NOTREACHED(); 28 NOTREACHED();
29 return nullptr; 29 return nullptr;
30 } 30 }
31 31
32 WebTaskRunner* DummyModulator::taskRunner() { 32 WebTaskRunner* DummyModulator::taskRunner() {
33 NOTREACHED(); 33 NOTREACHED();
34 return nullptr; 34 return nullptr;
35 }; 35 };
36 36
37 ModuleScript* DummyModulator::getFetchedModuleScript(const KURL&) {
38 NOTREACHED();
39 return nullptr;
40 }
41
37 void DummyModulator::fetchNewSingleModule(const ModuleScriptFetchRequest&, 42 void DummyModulator::fetchNewSingleModule(const ModuleScriptFetchRequest&,
38 ModuleGraphLevel, 43 ModuleGraphLevel,
39 ModuleScriptLoaderClient*) { 44 ModuleScriptLoaderClient*) {
40 NOTREACHED(); 45 NOTREACHED();
41 } 46 }
42 47
43 ScriptModule DummyModulator::compileModule(const String& script, 48 ScriptModule DummyModulator::compileModule(const String& script,
44 const String& urlStr, 49 const String& urlStr,
45 AccessControlStatus) { 50 AccessControlStatus) {
46 NOTREACHED(); 51 NOTREACHED();
47 return ScriptModule(); 52 return ScriptModule();
48 } 53 }
49 54
50 } // namespace blink 55 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/DummyModulator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698