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

Unified Diff: mojo/shell/public/cpp/connector.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/connection.h ('k') | mojo/shell/public/cpp/lib/application_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/connector.h
diff --git a/mojo/shell/public/cpp/connector.h b/mojo/shell/public/cpp/connector.h
index f0f12ce7332fe7ba38048f8c02d46d5a21eeb8db..94fdc9aa3b4b059d3447718a24bc5e3e432023e4 100644
--- a/mojo/shell/public/cpp/connector.h
+++ b/mojo/shell/public/cpp/connector.h
@@ -34,12 +34,12 @@ class Connector {
~ConnectParams();
const std::string& name() { return name_; }
- void set_user_id(uint32_t user_id) { user_id_ = user_id; }
- uint32_t user_id() const { return user_id_; }
+ void set_user_id(const std::string& user_id) { user_id_ = user_id; }
+ const std::string& user_id() const { return user_id_; }
private:
std::string name_;
- uint32_t user_id_;
+ std::string user_id_;
DISALLOW_COPY_AND_ASSIGN(ConnectParams);
};
« no previous file with comments | « mojo/shell/public/cpp/connection.h ('k') | mojo/shell/public/cpp/lib/application_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698