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

Unified Diff: mojo/shell/public/cpp/lib/connection_impl.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/lib/application_test_base.cc ('k') | mojo/shell/public/cpp/lib/connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/lib/connection_impl.h
diff --git a/mojo/shell/public/cpp/lib/connection_impl.h b/mojo/shell/public/cpp/lib/connection_impl.h
index e2c407ad08bf91516b7ec306187976a31420696f..457555f83f09991be72d691f961696d844f37a08 100644
--- a/mojo/shell/public/cpp/lib/connection_impl.h
+++ b/mojo/shell/public/cpp/lib/connection_impl.h
@@ -27,8 +27,8 @@ class ConnectionImpl : public Connection {
// |allowed_interfaces| are the set of interfaces that the shell has allowed
// an application to expose to another application. If this set contains only
// the string value "*" all interfaces may be exposed.
- ConnectionImpl(const std::string& connection_url,
- const std::string& remote_url,
+ ConnectionImpl(const std::string& connection_name,
+ const std::string& remote_name,
uint32_t remote_id,
uint32_t remote_user_id,
shell::mojom::InterfaceProviderPtr remote_interfaces,
@@ -40,8 +40,8 @@ class ConnectionImpl : public Connection {
private:
// Connection:
- const std::string& GetConnectionURL() override;
- const std::string& GetRemoteApplicationURL() override;
+ const std::string& GetConnectionName() override;
+ const std::string& GetRemoteApplicationName() override;
uint32_t GetRemoteUserID() const override;
void SetRemoteInterfaceProviderConnectionErrorHandler(
const Closure& handler) override;
@@ -54,8 +54,8 @@ class ConnectionImpl : public Connection {
void OnGotInstanceID(uint32_t target_application_id);
- const std::string connection_url_;
- const std::string remote_url_;
+ const std::string connection_name_;
+ const std::string remote_name_;
uint32_t remote_id_;
bool remote_ids_valid_;
« no previous file with comments | « mojo/shell/public/cpp/lib/application_test_base.cc ('k') | mojo/shell/public/cpp/lib/connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698