X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..refs/heads/master:/runtime/ConsoleClient.h diff --git a/runtime/ConsoleClient.h b/runtime/ConsoleClient.h index a5f9e20..a16b85b 100644 --- a/runtime/ConsoleClient.h +++ b/runtime/ConsoleClient.h @@ -27,7 +27,6 @@ #define ConsoleClient_h #include "ConsoleTypes.h" -#include "Profile.h" #include namespace Inspector { @@ -43,30 +42,30 @@ public: virtual ~ConsoleClient() { } JS_EXPORT_PRIVATE static void printConsoleMessage(MessageSource, MessageType, MessageLevel, const String& message, const String& url, unsigned lineNumber, unsigned columnNumber); - JS_EXPORT_PRIVATE static void printConsoleMessageWithArguments(MessageSource, MessageType, MessageLevel, JSC::ExecState*, PassRefPtr); + JS_EXPORT_PRIVATE static void printConsoleMessageWithArguments(MessageSource, MessageType, MessageLevel, JSC::ExecState*, RefPtr&&); - void logWithLevel(ExecState*, PassRefPtr, MessageLevel); - void clear(ExecState*, PassRefPtr); - void dir(ExecState*, PassRefPtr); - void dirXML(ExecState*, PassRefPtr); - void table(ExecState*, PassRefPtr); - void trace(ExecState*, PassRefPtr); - void assertCondition(ExecState*, PassRefPtr, bool condition); - void group(ExecState*, PassRefPtr); - void groupCollapsed(ExecState*, PassRefPtr); - void groupEnd(ExecState*, PassRefPtr); + void logWithLevel(ExecState*, RefPtr&&, MessageLevel); + void clear(ExecState*, RefPtr&&); + void dir(ExecState*, RefPtr&&); + void dirXML(ExecState*, RefPtr&&); + void table(ExecState*, RefPtr&&); + void trace(ExecState*, RefPtr&&); + void assertCondition(ExecState*, RefPtr&&, bool condition); + void group(ExecState*, RefPtr&&); + void groupCollapsed(ExecState*, RefPtr&&); + void groupEnd(ExecState*, RefPtr&&); - virtual void messageWithTypeAndLevel(MessageType, MessageLevel, JSC::ExecState*, PassRefPtr) = 0; - virtual void count(ExecState*, PassRefPtr) = 0; + virtual void messageWithTypeAndLevel(MessageType, MessageLevel, JSC::ExecState*, RefPtr&&) = 0; + virtual void count(ExecState*, RefPtr&&) = 0; virtual void profile(ExecState*, const String& title) = 0; virtual void profileEnd(ExecState*, const String& title) = 0; virtual void time(ExecState*, const String& title) = 0; virtual void timeEnd(ExecState*, const String& title) = 0; - virtual void timeStamp(ExecState*, PassRefPtr) = 0; + virtual void timeStamp(ExecState*, RefPtr&&) = 0; private: enum ArgumentRequirement { ArgumentRequired, ArgumentNotRequired }; - void internalMessageWithTypeAndLevel(MessageType, MessageLevel, JSC::ExecState*, PassRefPtr, ArgumentRequirement); + void internalMessageWithTypeAndLevel(MessageType, MessageLevel, JSC::ExecState*, RefPtr&&, ArgumentRequirement); }; } // namespace JSC