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

Unified Diff: Source/core/inspector/InspectorInstrumentationCustomInl.h

Issue 761143003: DevTools: remove ScriptPreprocessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInstrumentationCustomInl.h
diff --git a/Source/core/inspector/InspectorInstrumentationCustomInl.h b/Source/core/inspector/InspectorInstrumentationCustomInl.h
index 943be80aea8d23a7656abdb9ec7250bfe0b489eb..335a679cc269f1a2a3315d4f0bf63b9cfd6d5eee 100644
--- a/Source/core/inspector/InspectorInstrumentationCustomInl.h
+++ b/Source/core/inspector/InspectorInstrumentationCustomInl.h
@@ -39,8 +39,6 @@ namespace InspectorInstrumentation {
bool isDebuggerPausedImpl(InstrumentingAgents*);
bool collectingHTMLParseErrorsImpl(InstrumentingAgents*);
-ScriptSourceCode preprocessImpl(InstrumentingAgents*, LocalFrame*, const ScriptSourceCode&);
-String preprocessEventListenerImpl(InstrumentingAgents*, LocalFrame*, const String& source, const String& url, const String& functionName);
void appendAsyncCallStack(ExecutionContext*, ScriptCallStack*);
bool canvasAgentEnabled(ExecutionContext*);
@@ -62,22 +60,6 @@ inline bool collectingHTMLParseErrors(Document* document)
return false;
}
-inline String preprocessEventListener(LocalFrame* frame, const String& source, const String& url, const String& functionName)
-{
- FAST_RETURN_IF_NO_FRONTENDS(source);
- if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(frame))
- return preprocessEventListenerImpl(instrumentingAgents, frame, source, url, functionName);
- return source;
-}
-
-inline ScriptSourceCode preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
-{
- FAST_RETURN_IF_NO_FRONTENDS(ScriptSourceCode());
- if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(frame))
- return preprocessImpl(instrumentingAgents, frame, sourceCode);
- return ScriptSourceCode();
-}
-
} // namespace InspectorInstrumentation
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698