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

Unified Diff: mojo/shell/content_handler_connection.h

Issue 1307273004: Group ConnectToApplication-related info into a params struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync & rebase Created 5 years, 3 months 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/shell/content_handler_connection.h
diff --git a/mojo/shell/content_handler_connection.h b/mojo/shell/content_handler_connection.h
index d93dbee40cd89a74f8f683a6f373f0a296154326..bf4f74e3ae712cb2903fd859657b162225b2ad32 100644
--- a/mojo/shell/content_handler_connection.h
+++ b/mojo/shell/content_handler_connection.h
@@ -14,8 +14,8 @@
namespace mojo {
namespace shell {
-class ApplicationInstance;
class ApplicationManager;
+struct Identity;
// A ContentHandlerConnection is responsible for creating and maintaining a
// connection to an app which provides the ContentHandler service.
@@ -26,10 +26,10 @@ class ApplicationManager;
class ContentHandlerConnection {
public:
// |id| is a unique identifier for this content handler.
- ContentHandlerConnection(ApplicationInstance* originator,
- ApplicationManager* manager,
+ ContentHandlerConnection(ApplicationManager* manager,
+ const Identity& originator_identity,
+ const CapabilityFilter& originator_filter,
const GURL& content_handler_url,
- const GURL& requestor_url,
const std::string& qualifier,
const CapabilityFilter& filter,
uint32_t id);

Powered by Google App Engine
This is Rietveld 408576698