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

Unified Diff: mojo/public/cpp/application/application_delegate.h

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: hate Created 5 years, 10 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/public/cpp/application/application_delegate.h
diff --git a/mojo/public/cpp/application/application_delegate.h b/mojo/public/cpp/application/application_delegate.h
index 5519f6cd78ff56c921b5519db4b0c0610666401e..07f2a64153816d90d4b99c502309c09ce87a4532 100644
--- a/mojo/public/cpp/application/application_delegate.h
+++ b/mojo/public/cpp/application/application_delegate.h
@@ -26,8 +26,11 @@ class ApplicationDelegate {
// Override this method to configure what services a connection supports when
// being connected to from an app.
+ // |url| is the URL that was requested by the remote application, after all
+ // resolutions, mappings, and redirects.
// Return false to reject the connection entirely.
- virtual bool ConfigureIncomingConnection(ApplicationConnection* connection);
+ virtual bool ConfigureIncomingConnection(ApplicationConnection* connection,
+ const std::string& url);
// Override this method to configure what services a connection supports when
// connecting to another app.

Powered by Google App Engine
This is Rietveld 408576698