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

Unified Diff: Source/WebCore/inspector/InspectorController.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/InspectorController.h
diff --git a/Source/WebCore/inspector/InspectorController.h b/Source/WebCore/inspector/InspectorController.h
index b960e6042afd8b033b9ab615e09fade7b0ffe025..821a4ca3a38b61914c47058fabffa45f5c1e649f 100644
--- a/Source/WebCore/inspector/InspectorController.h
+++ b/Source/WebCore/inspector/InspectorController.h
@@ -31,7 +31,6 @@
#ifndef InspectorController_h
#define InspectorController_h
-#if ENABLE(INSPECTOR)
#include "InspectorBaseAgent.h"
#include <wtf/Forward.h>
@@ -108,12 +107,10 @@ public:
bool isUnderTest();
void evaluateForTestInFrontend(long callId, const String& script);
-#if ENABLE(JAVASCRIPT_DEBUGGER)
bool profilerEnabled();
void setProfilerEnabled(bool);
void resume();
-#endif
void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize, int maximumSingleResourceContentSize);
@@ -148,11 +145,9 @@ private:
InspectorResourceAgent* m_resourceAgent;
InspectorPageAgent* m_pageAgent;
InspectorMemoryAgent* m_memoryAgent;
-#if ENABLE(JAVASCRIPT_DEBUGGER)
InspectorDebuggerAgent* m_debuggerAgent;
InspectorDOMDebuggerAgent* m_domDebuggerAgent;
InspectorProfilerAgent* m_profilerAgent;
-#endif
RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient;
@@ -165,6 +160,5 @@ private:
}
-#endif // ENABLE(INSPECTOR)
#endif // !defined(InspectorController_h)
« no previous file with comments | « Source/WebCore/inspector/InspectorConsoleInstrumentation.h ('k') | Source/WebCore/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698