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

Unified Diff: mojo/shell/public/cpp/connection.h

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 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
« no previous file with comments | « mojo/shell/public/cpp/application_test_base.h ('k') | mojo/shell/public/cpp/connector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/connection.h
diff --git a/mojo/shell/public/cpp/connection.h b/mojo/shell/public/cpp/connection.h
index 39327a679621f9f733438a8a79432da199a83036..5672933961b16daafdf31b35c357a413d9c23bd2 100644
--- a/mojo/shell/public/cpp/connection.h
+++ b/mojo/shell/public/cpp/connection.h
@@ -67,20 +67,15 @@ class Connection {
mojo::GetInterface(GetRemoteInterfaces(), ptr);
}
- // Returns the URL that was used by the source application to establish a
+ // Returns the name that was used by the source application to establish a
// connection to the destination application.
//
- // When Connection 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 Connection is representing and outgoing connection, this will be the
- // same as the value returned by GetRemoveApplicationURL().
- virtual const std::string& GetConnectionURL() = 0;
+ // same as the value returned by GetRemoveApplicationName().
+ virtual const std::string& GetConnectionName() = 0;
- // Returns the URL identifying the remote application on this connection.
- virtual const std::string& GetRemoteApplicationURL() = 0;
+ // Returns the name identifying the remote application on this connection.
+ virtual const std::string& GetRemoteApplicationName() = 0;
// Returns the User ID for the remote application.
virtual uint32_t GetRemoteUserID() const = 0;
« no previous file with comments | « mojo/shell/public/cpp/application_test_base.h ('k') | mojo/shell/public/cpp/connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698