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

Unified Diff: blimp/client/app/session/blimp_client_session.cc

Issue 2473543002: Set the user agent for 0.6 (Closed)
Patch Set: nits Created 4 years, 1 month 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
« no previous file with comments | « blimp/client/app/session/blimp_client_session.h ('k') | blimp/client/app/user_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/session/blimp_client_session.cc
diff --git a/blimp/client/app/session/blimp_client_session.cc b/blimp/client/app/session/blimp_client_session.cc
index e28322e19aee9af4e3bfa1dd15104f4fed0f95f2..c66394ed9a155971bae36f2a5bf8fb7f4b14855d 100644
--- a/blimp/client/app/session/blimp_client_session.cc
+++ b/blimp/client/app/session/blimp_client_session.cc
@@ -24,7 +24,6 @@
#include "blimp/client/core/render_widget/render_widget_feature.h"
#include "blimp/client/core/session/client_network_components.h"
#include "blimp/client/core/session/cross_thread_network_event_observer.h"
-#include "blimp/client/core/settings/settings_feature.h"
#include "blimp/client/core/switches/blimp_client_switches.h"
#include "blimp/common/blob_cache/in_memory_blob_cache.h"
#include "blimp/net/blimp_message_thread_pipe.h"
@@ -55,7 +54,6 @@ BlimpClientSession::BlimpClientSession(const GURL& assigner_endpoint)
navigation_feature_(new NavigationFeature),
ime_feature_(new ImeFeature),
render_widget_feature_(new RenderWidgetFeature),
- settings_feature_(new SettingsFeature(nullptr)),
weak_factory_(this) {
base::Thread::Options options;
options.message_loop_type = base::MessageLoop::TYPE_IO;
@@ -137,9 +135,6 @@ void BlimpClientSession::RegisterFeatures() {
render_widget_feature_->set_outgoing_compositor_message_processor(
thread_pipe_manager_->RegisterFeature(BlimpMessage::kCompositor,
render_widget_feature_.get()));
- settings_feature_->set_outgoing_message_processor(
- thread_pipe_manager_->RegisterFeature(BlimpMessage::kSettings,
- settings_feature_.get()));
thread_pipe_manager_->RegisterFeature(BlimpMessage::kBlobChannel,
blob_delegate_);
@@ -182,9 +177,5 @@ RenderWidgetFeature* BlimpClientSession::GetRenderWidgetFeature() const {
return render_widget_feature_.get();
}
-SettingsFeature* BlimpClientSession::GetSettingsFeature() const {
- return settings_feature_.get();
-}
-
} // namespace client
} // namespace blimp
« no previous file with comments | « blimp/client/app/session/blimp_client_session.h ('k') | blimp/client/app/user_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698