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

Unified Diff: blimp/net/blimp_message_output_buffer.cc

Issue 1933053003: Used oneof in blimp_message.proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 7 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
« no previous file with comments | « blimp/net/blimp_message_multiplexer_unittest.cc ('k') | blimp/net/blimp_message_output_buffer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blimp_message_output_buffer.cc
diff --git a/blimp/net/blimp_message_output_buffer.cc b/blimp/net/blimp_message_output_buffer.cc
index b5c5ec5612b0f8c0a45fe4860160369540325fda..24365eba17fce2bba8ab306ce52c8dda49b4f496 100644
--- a/blimp/net/blimp_message_output_buffer.cc
+++ b/blimp/net/blimp_message_output_buffer.cc
@@ -135,8 +135,8 @@ void BlimpMessageOutputBuffer::WriteNextMessageIfReady() {
std::unique_ptr<BlimpMessage> message_to_write(
new BlimpMessage(*write_buffer_.front()->message));
DVLOG(3) << "Writing message (id="
- << write_buffer_.front()->message->message_id()
- << ", type=" << message_to_write->type() << ")";
+ << write_buffer_.front()->message->message_id() << ", "
+ << *message_to_write << ")";
output_processor_->ProcessMessage(std::move(message_to_write),
write_complete_cb_.callback());
« no previous file with comments | « blimp/net/blimp_message_multiplexer_unittest.cc ('k') | blimp/net/blimp_message_output_buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698