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

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: 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..126073f262a493936286c1b1b8ca9c750a70b256 100644
--- a/blimp/engine/session/blimp_engine_session.cc
+++ b/blimp/engine/session/blimp_engine_session.cc
@@ -180,6 +180,7 @@ BlimpEngineSession::BlimpEngineSession(
: browser_context_(std::move(browser_context)),
engine_config_(engine_config),
screen_(new BlimpScreen),
+ render_widget_feature_(&settings_feature_),
net_components_(
new EngineNetworkComponents(net_log,
QuitCurrentMessageLoopClosure())) {
@@ -257,6 +258,9 @@ void BlimpEngineSession::RegisterFeatures() {
render_widget_feature_.set_compositor_message_sender(
thread_pipe_manager_->RegisterFeature(BlimpMessage::COMPOSITOR,
&render_widget_feature_));
+ settings_feature_.set_outgoing_message_processor(
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::SETTINGS,
+ &settings_feature_));
}
bool BlimpEngineSession::CreateWebContents(const int target_tab_id) {
« blimp/engine/session/blimp_engine_session.h ('K') | « blimp/engine/session/blimp_engine_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698