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

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 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 ecbff37911c6c10555557dcb363be1b322a84be3..29984d94083aaef4b5bce2e014b4137f5dbba811 100644
--- a/chrome/browser/resources/md_user_manager/profile_browser_proxy.js
+++ b/chrome/browser/resources/md_user_manager/profile_browser_proxy.js
@@ -66,11 +66,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();
},
@@ -149,10 +151,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