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

Unified Diff: chrome/browser/resources/user_manager/user_manager.js

Issue 564453003: Access to Chrome via the System Tray should go through the User Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor pre-review cleanup Created 6 years, 3 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
Index: chrome/browser/resources/user_manager/user_manager.js
diff --git a/chrome/browser/resources/user_manager/user_manager.js b/chrome/browser/resources/user_manager/user_manager.js
index 84fab310838f06db9530d2f80d89a7b65d3e1eb0..db010d1fdcf0d1f808fd91a8641cd6ea9f1ca180 100644
--- a/chrome/browser/resources/user_manager/user_manager.js
+++ b/chrome/browser/resources/user_manager/user_manager.js
@@ -138,7 +138,12 @@ cr.define('UserManager', function() {
// Hide the header bar until the showUserManagerMethod can apply function
// parameters that affect widget visiblity.
$('login-header-bar').hidden = true;
- chrome.send('userManagerInitialize');
+
+ var hash = window.location.hash;
+ if (hash)
+ chrome.send('userManagerInitialize', [hash]);
+ else
+ chrome.send('userManagerInitialize');
Evan Stade 2014/09/11 17:02:50 chrome.send('userManagerInitialize', [window.locat
Mike Lerman 2014/09/11 18:49:29 Done.
}
// Return an object with all of the exports.

Powered by Google App Engine
This is Rietveld 408576698