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

Unified Diff: Source/WebCore/inspector/WorkerRuntimeAgent.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comments addressed Created 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/inspector/WorkerRuntimeAgent.h
diff --git a/Source/WebCore/inspector/WorkerRuntimeAgent.h b/Source/WebCore/inspector/WorkerRuntimeAgent.h
index d7cc0f7ad9cde444e0bff6908a2c07934169d189..8a1d1c8f35872ce8ddeaac9852255c3c1260b7db 100644
--- a/Source/WebCore/inspector/WorkerRuntimeAgent.h
+++ b/Source/WebCore/inspector/WorkerRuntimeAgent.h
@@ -31,7 +31,7 @@
#ifndef WorkerRuntimeAgent_h
#define WorkerRuntimeAgent_h
-#if ENABLE(INSPECTOR) && ENABLE(WORKERS)
+#if ENABLE(WORKERS)
#include "InspectorRuntimeAgent.h"
#include <wtf/PassOwnPtr.h>
@@ -51,9 +51,7 @@ public:
// Protocol commands.
virtual void run(ErrorString*);
-#if ENABLE(JAVASCRIPT_DEBUGGER)
void pauseWorkerContext(WorkerContext*);
-#endif // ENABLE(JAVASCRIPT_DEBUGGER)
private:
WorkerRuntimeAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*, WorkerContext*);
@@ -66,6 +64,6 @@ private:
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
+#endif // ENABLE(WORKERS)
#endif // !defined(InspectorPagerAgent_h)
« no previous file with comments | « Source/WebCore/inspector/WorkerInspectorController.cpp ('k') | Source/WebCore/inspector/WorkerRuntimeAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698