| Index: blimp/net/browser_connection_handler.h
|
| diff --git a/blimp/net/browser_connection_handler.h b/blimp/net/browser_connection_handler.h
|
| index df71d9b5b300aa06491b59846e9fba85e27f4750..2c972c30704e7759b8bea518bda61e7c161d2595 100644
|
| --- a/blimp/net/browser_connection_handler.h
|
| +++ b/blimp/net/browser_connection_handler.h
|
| @@ -35,14 +35,15 @@ class BLIMP_NET_EXPORT BrowserConnectionHandler
|
| BrowserConnectionHandler();
|
| ~BrowserConnectionHandler() override;
|
|
|
| - // Registers a message processor which will receive all messages of the |type|
|
| - // specified. Only one handler may be added per type.
|
| + // Registers a message processor which will receive all messages of the
|
| + // |feature_case| specified. Only one handler may be added per feature.
|
| // That caller must ensure |incoming_processor| remains valid while
|
| // this object is in-use.
|
| //
|
| - // Returns a BlimpMessageProcessor object for sending messages of type |type|.
|
| + // Returns a BlimpMessageProcessor object for sending messages for a given
|
| + // feature.
|
| virtual std::unique_ptr<BlimpMessageProcessor> RegisterFeature(
|
| - BlimpMessage::Type type,
|
| + BlimpMessage::FeatureCase feature_case,
|
| BlimpMessageProcessor* incoming_processor);
|
|
|
| // ConnectionHandler implementation.
|
|
|