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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2150993004: [DevTools] Remove V8Debugger::consoleMessagesCount. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index b8d2e2d70f5ac25e1cae2f0d000bd2fd2352ac3e..6d5298743bd01b201485f6d57771ce20e6d3130c 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1600,30 +1600,6 @@ String Internals::dumpRefCountedInstanceCounts() const
return WTF::dumpRefCountedInstanceCounts();
}
-unsigned Internals::numberOfConsoleMessages(Document* document) const
-{
- if (!document->frame())
- return 0;
-
- MainThreadDebugger* debugger = MainThreadDebugger::instance();
- unsigned total = 0;
- unsigned withArguments = 0;
- debugger->debugger()->consoleMessagesCount(debugger->contextGroupId(document->frame()), &total, &withArguments);
- return total;
-}
-
-unsigned Internals::numberOfConsoleMessagesWithArguments(Document* document) const
-{
- if (!document->frame())
- return 0;
-
- MainThreadDebugger* debugger = MainThreadDebugger::instance();
- unsigned total = 0;
- unsigned withArguments = 0;
- debugger->debugger()->consoleMessagesCount(debugger->contextGroupId(document->frame()), &total, &withArguments);
- return withArguments;
-}
-
Vector<unsigned long> Internals::setMemoryCacheCapacities(unsigned long minDeadBytes, unsigned long maxDeadBytes, unsigned long totalBytes)
{
Vector<unsigned long> result;
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698