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

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

Issue 1810213009: blimp: Add settings to allow the client to download the whole page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@record_full_document
Patch Set: Minor comment fixes. Created 4 years, 9 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.cc
diff --git a/blimp/engine/session/blimp_engine_session.cc b/blimp/engine/session/blimp_engine_session.cc
index 9543a83ddd5962832eda067bdb310e92faa39681..a445b659d90102bffed7f0642b19fe57199a77b7 100644
--- a/blimp/engine/session/blimp_engine_session.cc
+++ b/blimp/engine/session/blimp_engine_session.cc
@@ -180,6 +180,8 @@ BlimpEngineSession::BlimpEngineSession(
: browser_context_(std::move(browser_context)),
engine_config_(engine_config),
screen_(new BlimpScreen),
+ settings_feature_(&settings_manager_),
+ render_widget_feature_(&settings_manager_),
net_components_(
new EngineNetworkComponents(net_log,
QuitCurrentMessageLoopClosure())) {
@@ -257,6 +259,11 @@ void BlimpEngineSession::RegisterFeatures() {
render_widget_feature_.set_compositor_message_sender(
thread_pipe_manager_->RegisterFeature(BlimpMessage::COMPOSITOR,
&render_widget_feature_));
+
+ // The Settings feature does not need an outgoing message processor, since we
+ // don't send any messages to the client right now.
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::SETTINGS,
+ &settings_feature_);
}
bool BlimpEngineSession::CreateWebContents(const int target_tab_id) {

Powered by Google App Engine
This is Rietveld 408576698