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

Unified Diff: Source/WebCore/bindings/v8/ScriptProfile.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: 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/bindings/v8/ScriptProfile.h
diff --git a/Source/WebCore/bindings/v8/ScriptProfile.h b/Source/WebCore/bindings/v8/ScriptProfile.h
index abbdb4d9e7b3882c977b8690f58c44cc19d86b87..852064a597ab4616fa97d03f31cb25e6b75eda01 100644
--- a/Source/WebCore/bindings/v8/ScriptProfile.h
+++ b/Source/WebCore/bindings/v8/ScriptProfile.h
@@ -35,9 +35,7 @@
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
-#if ENABLE(INSPECTOR)
#include "InspectorTypeBuilder.h"
-#endif
namespace v8 {
class CpuProfile;
@@ -45,9 +43,7 @@ class CpuProfile;
namespace WebCore {
-#if ENABLE(INSPECTOR)
class InspectorObject;
-#endif
class ScriptProfile : public RefCounted<ScriptProfile> {
public:
@@ -62,10 +58,8 @@ public:
PassRefPtr<ScriptProfileNode> head() const;
double idleTime() const;
-#if ENABLE(INSPECTOR)
PassRefPtr<TypeBuilder::Profiler::CPUProfileNode> buildInspectorObjectForHead() const;
PassRefPtr<TypeBuilder::Array<int> > buildInspectorObjectForSamples() const;
-#endif
private:
ScriptProfile(const v8::CpuProfile* profile, double idleTime)

Powered by Google App Engine
This is Rietveld 408576698