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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h

Issue 2151273003: [DevTools] Move browser logging from Console domain to Log domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internals-method
Patch Set: protocol improvements 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/platform/v8_inspector/V8RuntimeAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
index e242552ab15ad01fc568bacb5d6832d22556e8af..7b33379a0c29c0f7b12ead07132365f0aef93092 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
@@ -96,6 +96,7 @@ public:
void releaseObjectGroup(ErrorString*, const String16& objectGroup) override;
void run(ErrorString*) override;
void setCustomObjectFormatterEnabled(ErrorString*, bool) override;
+ void discardConsoleEntries(ErrorString*) override;
void compileScript(ErrorString*,
const String16& expression,
const String16& sourceURL,
@@ -117,6 +118,7 @@ public:
void reportExecutionContextDestroyed(InspectedContext*);
void inspect(std::unique_ptr<protocol::Runtime::RemoteObject> objectToInspect, std::unique_ptr<protocol::DictionaryValue> hints);
void messageAdded(V8ConsoleMessage*);
+ bool enabled() const { return m_enabled; }
private:
void reportMessage(V8ConsoleMessage*, bool generatePreview);

Powered by Google App Engine
This is Rietveld 408576698