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

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: fix gn dependency warning & rebase 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 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.
« no previous file with comments | « blimp/engine/renderer/engine_image_serialization_processor.cc ('k') | blimp/engine/session/blimp_engine_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698