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

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

Issue 1770533002: Change userid from a uint32_t to a string guid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@33connector
Patch Set: . Created 4 years, 9 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 1825d9b4ebceffb43b00ca2a044b1d8b267580b3..0654423d62e38bfdae9a6a914357b3715e334d07 100644
--- a/mojo/shell/public/cpp/connection.h
+++ b/mojo/shell/public/cpp/connection.h
@@ -81,7 +81,7 @@ class Connection {
// callback being fired, this will return the value passed via Connect().
// After the Connect() callback (call AddRemoteIDCallback to register one)
// this will return the actual user id the shell ran the target as.
- virtual uint32_t GetRemoteUserID() const = 0;
+ virtual const std::string& GetRemoteUserID() const = 0;
// Register a handler to receive an error notification on the pipe to the
// remote application's InterfaceProvider.
« 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