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

Unified Diff: mash/login/login.cc

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 | « mash/login/login.h ('k') | mash/quick_launch/quick_launch_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/login/login.cc
diff --git a/mash/login/login.cc b/mash/login/login.cc
index e301b3f5f29336297a677881656386fbc6ae41f8..2e26b4af819f79be2ddea6d3f52a6f8be0eb0c3f 100644
--- a/mash/login/login.cc
+++ b/mash/login/login.cc
@@ -72,9 +72,9 @@ class LoginView : public views::WidgetDelegateView,
// Login...
mojo::Connector::ConnectParams params("mojo:mash_shell");
if (sender == login_button_1_) {
- login_->login()->LoginAs(3);
+ login_->login()->LoginAs("3");
} else if (sender == login_button_2_) {
- login_->login()->LoginAs(4);
+ login_->login()->LoginAs("4");
} else {
NOTREACHED();
}
@@ -94,7 +94,7 @@ Login::Login() {}
Login::~Login() {}
void Login::Initialize(mojo::Connector* connector, const std::string& url,
- uint32_t id, uint32_t user_id) {
+ const std::string& user_id, uint32_t id) {
tracing_.Initialize(connector, url);
aura_init_.reset(new views::AuraInit(connector, "views_mus_resources.pak"));
« no previous file with comments | « mash/login/login.h ('k') | mash/quick_launch/quick_launch_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698