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

Unified Diff: blimp/engine/session/blimp_engine_session.h

Issue 1985863002: Incorporate BlobChannel into Blimp image encode/decode pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-helium
Patch Set: moved the blob serialization processor to the compositor manager Created 4 years, 6 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: blimp/engine/session/blimp_engine_session.h
diff --git a/blimp/engine/session/blimp_engine_session.h b/blimp/engine/session/blimp_engine_session.h
index 2c064e59f7c8cac8b771e888c1483a01dd5b74f8..3c978b002572b1f7381d6b9fafde71a65822e3a6 100644
--- a/blimp/engine/session/blimp_engine_session.h
+++ b/blimp/engine/session/blimp_engine_session.h
@@ -56,6 +56,9 @@ namespace blimp {
class BlimpConnection;
class BlimpMessage;
class BlimpMessageThreadPipe;
+class BlobCache;
+class BlobChannelSender;
+class HeliumBlobSenderDelegate;
class ThreadPipeManager;
class SettingsManager;
@@ -91,6 +94,10 @@ class BlimpEngineSession
BlimpBrowserContext* browser_context() { return browser_context_.get(); }
+ BlobChannelSender* blob_channel_sender() {
+ return blob_channel_sender_.get();
+ }
+
// Gets Engine's listening port. Invokes callback with the allocated port.
void GetEnginePortForTesting(const GetPortCallback& callback);
@@ -211,6 +218,13 @@ class BlimpEngineSession
// including INPUT, COMPOSITOR and RENDER_WIDGET messages.
EngineRenderWidgetFeature render_widget_feature_;
+ // Sends outgoing blob data as BlimpMessages.
+ HeliumBlobSenderDelegate* blob_delegate_;
+
+ // Receives image data from the renderer and sends it to the client via
+ // |blob_delegate_|.
+ std::unique_ptr<BlobChannelSender> blob_channel_sender_;
+
// Container for connection manager, authentication handler, and
// browser connection handler. The components run on the I/O thread, and
// this object is destroyed there.

Powered by Google App Engine
This is Rietveld 408576698