diff options
Diffstat (limited to 'blimp/net/browser_connection_handler.h')
-rw-r--r-- | blimp/net/browser_connection_handler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/blimp/net/browser_connection_handler.h b/blimp/net/browser_connection_handler.h index 74bb7f2..0304ae1 100644 --- a/blimp/net/browser_connection_handler.h +++ b/blimp/net/browser_connection_handler.h @@ -25,6 +25,8 @@ class BlimpMessageProcessor; // messages out via underlying BlimpConnection. // A BrowserConnectionHandler is created on browser startup, and persists for // the lifetime of the application. +// BrowserConnectionHandler is created on the UI thread, and then used and +// destroyed on the IO thread. class BLIMP_NET_EXPORT BrowserConnectionHandler : public ConnectionHandler, public ConnectionErrorObserver { @@ -38,7 +40,7 @@ class BLIMP_NET_EXPORT BrowserConnectionHandler // this object is in-use. // // Returns a BlimpMessageProcessor object for sending messages of type |type|. - scoped_ptr<BlimpMessageProcessor> RegisterFeature( + virtual scoped_ptr<BlimpMessageProcessor> RegisterFeature( BlimpMessage::Type type, BlimpMessageProcessor* incoming_processor); |