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

Unified Diff: blimp/common/create_blimp_message.cc

Issue 1970463004: Blimp: Add BlobChannel Helium messages and delegate impls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/common/create_blimp_message.h ('k') | blimp/common/create_blimp_message_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/create_blimp_message.cc
diff --git a/blimp/common/create_blimp_message.cc b/blimp/common/create_blimp_message.cc
index 460560c6851c6513ff1ebf32150a5e3de6f8ebd6..a3af17d6c8baf4be6ef8b3e887a50f0474caea00 100644
--- a/blimp/common/create_blimp_message.cc
+++ b/blimp/common/create_blimp_message.cc
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "blimp/common/proto/blimp_message.pb.h"
+#include "blimp/common/proto/blob_channel.pb.h"
#include "blimp/common/proto/compositor.pb.h"
#include "blimp/common/proto/input.pb.h"
#include "blimp/common/proto/render_widget.pb.h"
@@ -80,6 +81,13 @@ std::unique_ptr<BlimpMessage> CreateBlimpMessage(
return output;
}
+std::unique_ptr<BlimpMessage> CreateBlimpMessage(
+ BlobChannelMessage** blob_channel_message) {
+ std::unique_ptr<BlimpMessage> output(new BlimpMessage);
+ *blob_channel_message = output->mutable_blob_channel();
+ return output;
+}
+
std::unique_ptr<BlimpMessage> CreateStartConnectionMessage(
const std::string& client_token,
int protocol_version) {
« no previous file with comments | « blimp/common/create_blimp_message.h ('k') | blimp/common/create_blimp_message_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698