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

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: 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
« no previous file with comments | « Source/WebCore/bindings/v8/ScriptObject.cpp ('k') | Source/WebCore/bindings/v8/ScriptProfile.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3140d68706911ce48b8e2aab6773c0183727d86e 100644
--- a/Source/WebCore/bindings/v8/ScriptProfile.h
+++ b/Source/WebCore/bindings/v8/ScriptProfile.h
@@ -31,23 +31,18 @@
#ifndef ScriptProfile_h
#define ScriptProfile_h
+#include "InspectorTypeBuilder.h"
#include "ScriptProfileNode.h"
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
-#if ENABLE(INSPECTOR)
-#include "InspectorTypeBuilder.h"
-#endif
-
namespace v8 {
class CpuProfile;
}
namespace WebCore {
-#if ENABLE(INSPECTOR)
class InspectorObject;
-#endif
class ScriptProfile : public RefCounted<ScriptProfile> {
public:
@@ -62,10 +57,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)
« no previous file with comments | « Source/WebCore/bindings/v8/ScriptObject.cpp ('k') | Source/WebCore/bindings/v8/ScriptProfile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698