| Index: mojo/package_manager/content_handler_connection.h
|
| diff --git a/mojo/package_manager/content_handler_connection.h b/mojo/package_manager/content_handler_connection.h
|
| index 9bc107970ab905c0e10ac41c470792a28b714b21..bbea355cbe4be413f3777fdf4c7270cc982ac2f4 100644
|
| --- a/mojo/package_manager/content_handler_connection.h
|
| +++ b/mojo/package_manager/content_handler_connection.h
|
| @@ -34,16 +34,20 @@ class ContentHandlerConnection {
|
| uint32_t id,
|
| const ClosedCallback& connection_closed_callback);
|
|
|
| + void StartApplication(InterfaceRequest<Application> request,
|
| + URLResponsePtr response);
|
| +
|
| // Closes the connection and destroys |this| object.
|
| void CloseConnection();
|
|
|
| - ContentHandler* content_handler() { return content_handler_.get(); }
|
| const shell::Identity& identity() const { return identity_; }
|
| uint32_t id() const { return id_; }
|
|
|
| private:
|
| ~ContentHandlerConnection();
|
|
|
| + void ApplicationDestructed();
|
| +
|
| ClosedCallback connection_closed_callback_;
|
| shell::Identity identity_;
|
|
|
| @@ -51,6 +55,7 @@ class ContentHandlerConnection {
|
| bool connection_closed_;
|
| // The id for this content handler.
|
| const uint32_t id_;
|
| + int ref_count_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ContentHandlerConnection);
|
| };
|
|
|