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

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

Issue 2842923002: Support Inline module script (Closed)
Patch Set: Rebase Created 3 years, 7 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 #include "bindings/core/v8/ScriptValue.h" 7 #include "bindings/core/v8/ScriptValue.h"
8 #include "core/dom/ScriptModuleResolver.h" 8 #include "core/dom/ScriptModuleResolver.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ModuleTreeClient*) { 68 ModuleTreeClient*) {
69 NOTREACHED(); 69 NOTREACHED();
70 }; 70 };
71 71
72 void DummyModulator::FetchSingle(const ModuleScriptFetchRequest&, 72 void DummyModulator::FetchSingle(const ModuleScriptFetchRequest&,
73 ModuleGraphLevel, 73 ModuleGraphLevel,
74 SingleModuleClient*) { 74 SingleModuleClient*) {
75 NOTREACHED(); 75 NOTREACHED();
76 } 76 }
77 77
78 void DummyModulator::FetchDescendantsForInlineScript(ModuleScript*,
79 ModuleTreeClient*) {
80 NOTREACHED();
81 }
82
78 ModuleScript* DummyModulator::GetFetchedModuleScript(const KURL&) { 83 ModuleScript* DummyModulator::GetFetchedModuleScript(const KURL&) {
79 NOTREACHED(); 84 NOTREACHED();
80 return nullptr; 85 return nullptr;
81 } 86 }
82 87
83 void DummyModulator::FetchNewSingleModule(const ModuleScriptFetchRequest&, 88 void DummyModulator::FetchNewSingleModule(const ModuleScriptFetchRequest&,
84 ModuleGraphLevel, 89 ModuleGraphLevel,
85 ModuleScriptLoaderClient*) { 90 ModuleScriptLoaderClient*) {
86 NOTREACHED(); 91 NOTREACHED();
87 } 92 }
(...skipping 18 matching lines...) Expand all
106 Vector<String> DummyModulator::ModuleRequestsFromScriptModule(ScriptModule) { 111 Vector<String> DummyModulator::ModuleRequestsFromScriptModule(ScriptModule) {
107 NOTREACHED(); 112 NOTREACHED();
108 return Vector<String>(); 113 return Vector<String>();
109 } 114 }
110 115
111 void DummyModulator::ExecuteModule(const ModuleScript*) { 116 void DummyModulator::ExecuteModule(const ModuleScript*) {
112 NOTREACHED(); 117 NOTREACHED();
113 } 118 }
114 119
115 } // namespace blink 120 } // 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