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

Unified Diff: content/browser/devtools/devtools_session.cc

Issue 2522583002: Roll third_party/inspector_protocol to 4ad35c45aca9834b67ec2cb152c816ea1b7ceb48 (Closed)
Patch Set: updated README.chromium Created 4 years, 1 month 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
« no previous file with comments | « content/browser/devtools/devtools_session.h ('k') | content/browser/devtools/protocol/tracing_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_session.cc
diff --git a/content/browser/devtools/devtools_session.cc b/content/browser/devtools/devtools_session.cc
index 4806ea394699f8a0f0dd6f921bb0f1d8a0a9234e..7f115e550ec916bac9d1bb06a13217b98d015694 100644
--- a/content/browser/devtools/devtools_session.cc
+++ b/content/browser/devtools/devtools_session.cc
@@ -25,12 +25,13 @@ void DevToolsSession::ResetDispatcher() {
void DevToolsSession::sendProtocolResponse(
int call_id,
- const std::string& message) {
- agent_host_->SendMessageToClient(session_id_, message);
+ std::unique_ptr<protocol::Serializable> message) {
+ agent_host_->SendMessageToClient(session_id_, message->serialize());
}
-void DevToolsSession::sendProtocolNotification(const std::string& message) {
- agent_host_->SendMessageToClient(session_id_, message);
+void DevToolsSession::sendProtocolNotification(
+ std::unique_ptr<protocol::Serializable> message) {
+ agent_host_->SendMessageToClient(session_id_, message->serialize());
}
void DevToolsSession::flushProtocolNotifications() {
« no previous file with comments | « content/browser/devtools/devtools_session.h ('k') | content/browser/devtools/protocol/tracing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698