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

Unified Diff: Source/core/page/Console.h

Issue 15816002: Remove console.profiles from window.console API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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/core/inspector/ScriptProfileNode.idl ('k') | Source/core/page/Console.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Console.h
diff --git a/Source/core/page/Console.h b/Source/core/page/Console.h
index 63c929ec7933952c0347ac6b059de4f113a90010..e8e151711435beab6f8aca58cb8270262e7cd99f 100644
--- a/Source/core/page/Console.h
+++ b/Source/core/page/Console.h
@@ -31,7 +31,6 @@
#include "bindings/v8/ScriptState.h"
#include "bindings/v8/ScriptWrappable.h"
-#include "core/inspector/ScriptProfile.h"
#include "core/page/DOMWindowProperty.h"
#include <wtf/Forward.h>
#include <wtf/PassRefPtr.h>
@@ -44,8 +43,6 @@ class MemoryInfo;
class Page;
class ScriptArguments;
-typedef Vector<RefPtr<ScriptProfile> > ProfilesArray;
-
class Console : public ScriptWrappable, public RefCounted<Console>, public DOMWindowProperty {
public:
static PassRefPtr<Console> create(Frame* frame) { return adoptRef(new Console(frame)); }
@@ -64,7 +61,6 @@ public:
void assertCondition(ScriptState*, PassRefPtr<ScriptArguments>, bool condition);
void count(ScriptState*, PassRefPtr<ScriptArguments>);
void markTimeline(PassRefPtr<ScriptArguments>);
- const ProfilesArray& profiles() const { return m_profiles; }
void profile(ScriptState*, const String&);
void profileEnd(ScriptState*, const String&);
void time(const String&);
@@ -80,8 +76,6 @@ private:
inline Page* page() const;
explicit Console(Frame*);
-
- ProfilesArray m_profiles;
};
} // namespace WebCore
« no previous file with comments | « Source/core/inspector/ScriptProfileNode.idl ('k') | Source/core/page/Console.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698