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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h

Issue 2139363003: [DevTools] Cleanup v8_inspector API part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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/inspector/WorkerThreadDebugger.h
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
index ba96fd907508a07b9d8f54d5190da1a8294675ca..eeea0aca59d882dfc01b588aa682999d1d98a63c 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
@@ -36,6 +36,7 @@
namespace blink {
+class ConsoleMessage;
class SourceLocation;
class WorkerThread;
@@ -51,12 +52,13 @@ public:
void contextCreated(v8::Local<v8::Context>);
void contextWillBeDestroyed(v8::Local<v8::Context>);
void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation>);
+ void addConsoleMessage(ConsoleMessage*);
// V8DebuggerClient implementation.
void runMessageLoopOnPause(int contextGroupId) override;
void quitMessageLoopOnPause() override;
- void muteWarningsAndDeprecations() override { };
- void unmuteWarningsAndDeprecations() override { };
+ void muteWarningsAndDeprecations() override;
+ void unmuteWarningsAndDeprecations() override;
bool callingContextCanAccessContext(v8::Local<v8::Context> calling, v8::Local<v8::Context> target) override;
v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) override;
@@ -65,6 +67,7 @@ public:
private:
WorkerThread* m_workerThread;
+ int m_muteConsoleCount;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698