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

Unified Diff: chrome/browser/resources/md_user_manager/profile_browser_proxy.js

Issue 1901853002: Import supervised user dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-confirmation-page
Patch Set: Addressed comments + rebase Created 4 years, 8 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/md_user_manager/profile_browser_proxy.js
diff --git a/chrome/browser/resources/md_user_manager/profile_browser_proxy.js b/chrome/browser/resources/md_user_manager/profile_browser_proxy.js
index 603c992111ab2418ec2177b64f974ba5359a0781..33df6e20d097d7509e761b8e9fb9d52736ec5540 100644
--- a/chrome/browser/resources/md_user_manager/profile_browser_proxy.js
+++ b/chrome/browser/resources/md_user_manager/profile_browser_proxy.js
@@ -62,11 +62,13 @@ cr.define('signin', function() {
* @param {string} profileIconUrl URL of the selected icon of the new
* profile.
* @param {boolean} isSupervised True if the new profile is supervised.
+ * @param {string} supervisedUserId ID of the supervised user to be
+ * imported.
* @param {string} custodianProfilePath Profile path of the custodian if
* the new profile is supervised.
*/
createProfile: function(profileName, profileIconUrl, isSupervised,
- custodianProfilePath) {
+ supervisedUserId, custodianProfilePath) {
assertNotReached();
},
@@ -137,10 +139,10 @@ cr.define('signin', function() {
/** @override */
createProfile: function(profileName, profileIconUrl, isSupervised,
- custodianProfilePath) {
+ supervisedUserId, custodianProfilePath) {
chrome.send('createProfile',
- [profileName, profileIconUrl, false, isSupervised, '',
- custodianProfilePath]);
+ [profileName, profileIconUrl, false, isSupervised,
+ supervisedUserId, custodianProfilePath]);
},
/** @override */

Powered by Google App Engine
This is Rietveld 408576698