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 4fc34e7c6a17363aa8d37ef53b55e3d1ea787103..00e167f77d0fb8b1f1b9adb0b31bbefca4dcf16d 100644 |
--- a/mojo/shell/public/cpp/lib/connection_impl.h |
+++ b/mojo/shell/public/cpp/lib/connection_impl.h |
@@ -30,6 +30,7 @@ class ConnectionImpl : public Connection { |
ConnectionImpl(const std::string& connection_url, |
const std::string& remote_url, |
uint32_t remote_id, |
+ uint32_t remote_user_id, |
shell::mojom::InterfaceProviderPtr remote_interfaces, |
shell::mojom::InterfaceProviderRequest local_interfaces, |
const std::set<std::string>& allowed_interfaces); |
@@ -41,6 +42,7 @@ class ConnectionImpl : public Connection { |
// Connection: |
const std::string& GetConnectionURL() override; |
const std::string& GetRemoteApplicationURL() override; |
+ uint32_t GetRemoteUserID() const override; |
void SetRemoteInterfaceProviderConnectionErrorHandler( |
const Closure& handler) override; |
bool GetRemoteApplicationID(uint32_t* remote_id) const override; |
@@ -58,6 +60,7 @@ class ConnectionImpl : public Connection { |
uint32_t remote_id_; |
bool remote_ids_valid_; |
std::vector<Closure> remote_id_callbacks_; |
+ uint32_t remote_user_id_; |
InterfaceRegistry local_registry_; |
shell::mojom::InterfaceProviderPtr remote_interfaces_; |