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

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

Issue 2189503004: BlobChannelService is modified to be Mojo Service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into bcs Created 4 years, 4 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 c95e02e9823634f8bdad0fc9974b5bf91ca11dc6..187b820faf08dc09161fad47d5e945842648083d 100644
--- a/blimp/engine/session/blimp_engine_session.h
+++ b/blimp/engine/session/blimp_engine_session.h
@@ -15,6 +15,7 @@
#include "blimp/engine/feature/engine_render_widget_feature.h"
#include "blimp/engine/feature/engine_settings_feature.h"
#include "blimp/engine/feature/geolocation/engine_geolocation_feature.h"
+#include "blimp/engine/mojo/blob_channel_service.h"
#include "blimp/net/blimp_message_processor.h"
#include "blimp/net/connection_error_observer.h"
#include "content/public/browser/invalidate_type.h"
@@ -96,6 +97,10 @@ class BlimpEngineSession
return blob_channel_sender_.get();
}
+ BlobChannelService* blob_channel_service() {
+ return blob_channel_service_.get();
+ }
+
// Gets Engine's listening port. Invokes callback with the allocated port.
void GetEnginePortForTesting(const GetPortCallback& callback);
@@ -201,10 +206,14 @@ class BlimpEngineSession
// Sends outgoing blob data as BlimpMessages.
HeliumBlobSenderDelegate* blob_delegate_;
- // Receives image data from the renderer and sends it to the client via
+ // Receives image data and sends it to the client via
// |blob_delegate_|.
std::unique_ptr<BlobChannelSender> blob_channel_sender_;
+ // Receives image data from the renderer and sends it to
+ // |blob_channel_sender_|.
+ std::unique_ptr<BlobChannelService> blob_channel_service_;
+
// Handles all incoming and outgoing messages related to Geolocation.
EngineGeolocationFeature geolocation_feature_;
« no previous file with comments | « blimp/engine/renderer/blob_channel_sender_proxy_unittest.cc ('k') | blimp/engine/session/blimp_engine_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698