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

Unified Diff: Source/WebCore/page/Console.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/loader/appcache/ApplicationCacheHost.cpp ('k') | Source/WebCore/page/Console.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/Console.h
diff --git a/Source/WebCore/page/Console.h b/Source/WebCore/page/Console.h
index b8e75115b15af473a9258433eae66081c74ce63c..33cd0191e767d2e4e757142cd057aa2884ce5344 100644
--- a/Source/WebCore/page/Console.h
+++ b/Source/WebCore/page/Console.h
@@ -44,9 +44,7 @@ class MemoryInfo;
class Page;
class ScriptArguments;
-#if ENABLE(JAVASCRIPT_DEBUGGER)
typedef Vector<RefPtr<ScriptProfile> > ProfilesArray;
-#endif
class Console : public ScriptWrappable, public RefCounted<Console>, public DOMWindowProperty {
public:
@@ -66,11 +64,9 @@ public:
void assertCondition(ScriptState*, PassRefPtr<ScriptArguments>, bool condition);
void count(ScriptState*, PassRefPtr<ScriptArguments>);
void markTimeline(PassRefPtr<ScriptArguments>);
-#if ENABLE(JAVASCRIPT_DEBUGGER)
const ProfilesArray& profiles() const { return m_profiles; }
void profile(const String&, ScriptState*);
void profileEnd(const String&, ScriptState*);
-#endif
void time(const String&);
void timeEnd(ScriptState*, const String&);
void timeStamp(PassRefPtr<ScriptArguments>);
@@ -85,9 +81,7 @@ private:
explicit Console(Frame*);
-#if ENABLE(JAVASCRIPT_DEBUGGER)
ProfilesArray m_profiles;
-#endif
};
} // namespace WebCore
« no previous file with comments | « Source/WebCore/loader/appcache/ApplicationCacheHost.cpp ('k') | Source/WebCore/page/Console.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698