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

Unified Diff: mojo/package_manager/content_handler_connection.h

Issue 1431573002: Fix hangs in Mandoline page cycler on Linux with --enable-multiprocess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 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
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);
};
« no previous file with comments | « mojo/package_manager/capability_filter_content_handler_unittest.cc ('k') | mojo/package_manager/content_handler_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698