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

Unified Diff: sky/engine/v8_inspector/PageScriptDebugServer.h

Issue 754463004: Remove ScriptPreprocessor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/v8_inspector/PageDebuggerAgent.cpp ('k') | sky/engine/v8_inspector/PageScriptDebugServer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/v8_inspector/PageScriptDebugServer.h
diff --git a/sky/engine/v8_inspector/PageScriptDebugServer.h b/sky/engine/v8_inspector/PageScriptDebugServer.h
index 0efc82dc730e576cf8e659ccc506a42432997308..5f668fecaf187e609d8a69b7c31b543290bafe81 100644
--- a/sky/engine/v8_inspector/PageScriptDebugServer.h
+++ b/sky/engine/v8_inspector/PageScriptDebugServer.h
@@ -32,7 +32,6 @@
#define SKY_ENGINE_V8_INSPECTOR_PAGESCRIPTDEBUGSERVER_H_
#include "sky/engine/v8_inspector/ScriptDebugServer.h"
-#include "sky/engine/v8_inspector/ScriptPreprocessor.h"
#include "sky/engine/wtf/Forward.h"
#include "sky/engine/wtf/RefCounted.h"
#include "v8/include/v8.h"
@@ -45,7 +44,6 @@ class InspectorHost;
namespace blink {
class ScriptController;
-class ScriptPreprocessor;
class ScriptSourceCode;
class PageScriptDebugServer final : public ScriptDebugServer {
@@ -78,11 +76,6 @@ public:
virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtr<ScriptCallStack>* stackTrace) override;
virtual void clearCompiledScripts() override;
virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtr<ScriptCallStack>* stackTrace) override;
- virtual void setPreprocessorSource(const String&) override;
- virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) override;
- virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&) override;
- virtual String preprocessEventListener(LocalFrame*, const String& source, const String& url, const String& functionName) override;
- virtual void clearPreprocessor() override;
private:
PageScriptDebugServer();
@@ -99,9 +92,6 @@ private:
inspector::InspectorHost* m_pausedHost;
HashMap<String, String> m_compiledScriptURLs;
- OwnPtr<ScriptSourceCode> m_preprocessorSourceCode;
- OwnPtr<ScriptPreprocessor> m_scriptPreprocessor;
- bool canPreprocess(LocalFrame*);
static v8::Isolate* s_mainThreadIsolate;
};
« no previous file with comments | « sky/engine/v8_inspector/PageDebuggerAgent.cpp ('k') | sky/engine/v8_inspector/PageScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698