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

Unified Diff: third_party/mojo/src/mojo/public/cpp/application/application_connection.h

Issue 975973002: Update mojo sdk to rev f68e697e389943cd9bf9652397312280e96b127a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shake fist at msvc 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: third_party/mojo/src/mojo/public/cpp/application/application_connection.h
diff --git a/third_party/mojo/src/mojo/public/cpp/application/application_connection.h b/third_party/mojo/src/mojo/public/cpp/application/application_connection.h
index 5990be3524c3abd873ae852bb08c769e648aaa9b..8406235215b0341207f3da876392b0e6384178d4 100644
--- a/third_party/mojo/src/mojo/public/cpp/application/application_connection.h
+++ b/third_party/mojo/src/mojo/public/cpp/application/application_connection.h
@@ -55,6 +55,18 @@ class ApplicationConnection {
}
}
+ // Returns the URL that was used by the source application to establish a
+ // connection to the destination application.
+ //
+ // When ApplicationConnection is representing an incoming connection this can
+ // be different than the URL the application was initially loaded from, if the
+ // application handles multiple URLs. Note that this is the URL after all
+ // URL rewriting and HTTP redirects have been performed.
+ //
+ // When ApplicationConnection is representing and outgoing connection, this
+ // will be the same as the value returned by GetRemoveApplicationURL().
+ virtual const std::string& GetConnectionURL() = 0;
+
// Returns the URL identifying the remote application on this connection.
virtual const std::string& GetRemoteApplicationURL() = 0;

Powered by Google App Engine
This is Rietveld 408576698