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

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

Issue 2885203006: [DevTools] inline modules should have correct text offset (Closed)
Patch Set: a 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 ModuleScriptLoaderClient*) { 90 ModuleScriptLoaderClient*) {
91 NOTREACHED(); 91 NOTREACHED();
92 } 92 }
93 93
94 bool DummyModulator::HasValidContext() { 94 bool DummyModulator::HasValidContext() {
95 return true; 95 return true;
96 } 96 }
97 97
98 ScriptModule DummyModulator::CompileModule(const String& script, 98 ScriptModule DummyModulator::CompileModule(const String& script,
99 const String& url_str, 99 const String& url_str,
100 AccessControlStatus) { 100 AccessControlStatus,
101 const TextPosition&) {
101 NOTREACHED(); 102 NOTREACHED();
102 return ScriptModule(); 103 return ScriptModule();
103 } 104 }
104 105
105 ScriptValue DummyModulator::InstantiateModule(ScriptModule) { 106 ScriptValue DummyModulator::InstantiateModule(ScriptModule) {
106 NOTREACHED(); 107 NOTREACHED();
107 return ScriptValue(); 108 return ScriptValue();
108 } 109 }
109 110
110 ScriptValue DummyModulator::GetInstantiationError(const ModuleScript*) { 111 ScriptValue DummyModulator::GetInstantiationError(const ModuleScript*) {
111 NOTREACHED(); 112 NOTREACHED();
112 return ScriptValue(); 113 return ScriptValue();
113 } 114 }
114 115
115 Vector<String> DummyModulator::ModuleRequestsFromScriptModule(ScriptModule) { 116 Vector<String> DummyModulator::ModuleRequestsFromScriptModule(ScriptModule) {
116 NOTREACHED(); 117 NOTREACHED();
117 return Vector<String>(); 118 return Vector<String>();
118 } 119 }
119 120
120 void DummyModulator::ExecuteModule(const ModuleScript*) { 121 void DummyModulator::ExecuteModule(const ModuleScript*) {
121 NOTREACHED(); 122 NOTREACHED();
122 } 123 }
123 124
124 } // namespace blink 125 } // 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