Index: blimp/client/session/blimp_client_session.cc |
diff --git a/blimp/client/session/blimp_client_session.cc b/blimp/client/session/blimp_client_session.cc |
index 760842abc72bb5cd32e63d9b1f4782aa071cb4d0..0c65dc650067f90a4a0e0d08e0d64d1d42d16680 100644 |
--- a/blimp/client/session/blimp_client_session.cc |
+++ b/blimp/client/session/blimp_client_session.cc |
@@ -222,19 +222,19 @@ void BlimpClientSession::RegisterFeatures() { |
// Register features' message senders and receivers. |
tab_control_feature_->set_outgoing_message_processor( |
- thread_pipe_manager_->RegisterFeature(BlimpMessage::TAB_CONTROL, |
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::kTabControl, |
tab_control_feature_.get())); |
navigation_feature_->set_outgoing_message_processor( |
- thread_pipe_manager_->RegisterFeature(BlimpMessage::NAVIGATION, |
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::kNavigation, |
navigation_feature_.get())); |
render_widget_feature_->set_outgoing_input_message_processor( |
- thread_pipe_manager_->RegisterFeature(BlimpMessage::INPUT, |
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::kInput, |
render_widget_feature_.get())); |
render_widget_feature_->set_outgoing_compositor_message_processor( |
- thread_pipe_manager_->RegisterFeature(BlimpMessage::COMPOSITOR, |
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::kCompositor, |
render_widget_feature_.get())); |
settings_feature_->set_outgoing_message_processor( |
- thread_pipe_manager_->RegisterFeature(BlimpMessage::SETTINGS, |
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::kSettings, |
settings_feature_.get())); |
if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
@@ -243,11 +243,11 @@ void BlimpClientSession::RegisterFeatures() { |
// Client will not send send any RenderWidget messages, so don't save the |
Kevin M
2016/05/20 18:28:15
Move the HasSwitch code to the end of the function
shaktisahu
2016/05/20 22:29:41
Done.
|
// outgoing BlimpMessageProcessor in the RenderWidgetFeature. |
- thread_pipe_manager_->RegisterFeature(BlimpMessage::RENDER_WIDGET, |
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::kRenderWidget, |
render_widget_feature_.get()); |
ime_feature_->set_outgoing_message_processor( |
- thread_pipe_manager_->RegisterFeature(BlimpMessage::IME, |
+ thread_pipe_manager_->RegisterFeature(BlimpMessage::kIme, |
ime_feature_.get())); |
} |