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 67570318a7b1c2617af4226cac13bf14b7bfcba2..960ce71dcc2fd53a0e29f827dbc335a035f84319 100644 |
--- a/blimp/engine/session/blimp_engine_session.h |
+++ b/blimp/engine/session/blimp_engine_session.h |
@@ -54,6 +54,9 @@ namespace blimp { |
class BlimpConnection; |
class BlimpMessage; |
class BlimpMessageThreadPipe; |
+class BlobCache; |
+class BlobChannelSender; |
+class HeliumBlobSenderDelegate; |
class ThreadPipeManager; |
class SettingsManager; |
@@ -88,6 +91,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); |
@@ -190,6 +197,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. |