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

Unified Diff: third_party/WebKit/Source/core/frame/ConsoleBase.h

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/frame/ConsoleBase.h
diff --git a/third_party/WebKit/Source/core/frame/ConsoleBase.h b/third_party/WebKit/Source/core/frame/ConsoleBase.h
index f2839bf919bd5648aa3c06c8912ae4961ffa3c72..b0e1e28c03fda3aeb91bdf62c5dd1fd095dc62ba 100644
--- a/third_party/WebKit/Source/core/frame/ConsoleBase.h
+++ b/third_party/WebKit/Source/core/frame/ConsoleBase.h
@@ -47,41 +47,15 @@ class ScriptArguments;
class CORE_EXPORT ConsoleBase : public GarbageCollectedFinalized<ConsoleBase>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- void debug(ScriptState*, ScriptArguments*);
- void error(ScriptState*, ScriptArguments*);
- void info(ScriptState*, ScriptArguments*);
- void log(ScriptState*, ScriptArguments*);
- void clear(ScriptState*, ScriptArguments*);
- void warn(ScriptState*, ScriptArguments*);
- void dir(ScriptState*, ScriptArguments*);
- void dirxml(ScriptState*, ScriptArguments*);
- void table(ScriptState*, ScriptArguments*);
- void trace(ScriptState*, ScriptArguments*);
- void assertCondition(ScriptState*, ScriptArguments*, bool condition);
void count(ScriptState*, ScriptArguments*);
- void markTimeline(const String&);
- void profile(const String&);
- void profileEnd(const String&);
void time(const String&);
void timeEnd(ScriptState*, const String&);
- void timeStamp(const String&);
- void timeline(ScriptState*, const String&);
- void timelineEnd(ScriptState*, const String&);
- void group(ScriptState*, ScriptArguments*);
- void groupCollapsed(ScriptState*, ScriptArguments*);
- void groupEnd();
DEFINE_INLINE_VIRTUAL_TRACE() { }
virtual ~ConsoleBase();
-
-protected:
- virtual ExecutionContext* context() = 0;
virtual void reportMessageToConsole(ConsoleMessage*) = 0;
-
private:
- void internalAddMessage(MessageType, MessageLevel, ScriptState*, ScriptArguments*, bool acceptNoArguments = false);
-
HashCountedSet<String> m_counts;
HashMap<String, double> m_times;
};

Powered by Google App Engine
This is Rietveld 408576698