| 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 57a55d3dfd6f756c0aecc60bb56139d2cce6b470..1712a8a16d0a7d8ce53ec17f633a00b1db4f7b2b 100644
|
| --- a/chrome/browser/resources/md_user_manager/profile_browser_proxy.js
|
| +++ b/chrome/browser/resources/md_user_manager/profile_browser_proxy.js
|
| @@ -67,14 +67,16 @@ cr.define('signin', function() {
|
| * @param {string} profileName Name of the new profile.
|
| * @param {string} profileIconUrl URL of the selected icon of the new
|
| * profile.
|
| + * @param {boolean} createShortcut if true a desktop shortcut will be
|
| + * created.
|
| * @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,
|
| - supervisedUserId, custodianProfilePath) {
|
| + createProfile: function(profileName, profileIconUrl, createShortcut,
|
| + isSupervised, supervisedUserId, custodianProfilePath) {
|
| assertNotReached();
|
| },
|
|
|
| @@ -175,10 +177,10 @@ cr.define('signin', function() {
|
| },
|
|
|
| /** @override */
|
| - createProfile: function(profileName, profileIconUrl, isSupervised,
|
| - supervisedUserId, custodianProfilePath) {
|
| + createProfile: function(profileName, profileIconUrl, createShortcut,
|
| + isSupervised, supervisedUserId, custodianProfilePath) {
|
| chrome.send('createProfile',
|
| - [profileName, profileIconUrl, false, isSupervised,
|
| + [profileName, profileIconUrl, createShortcut, isSupervised,
|
| supervisedUserId, custodianProfilePath]);
|
| },
|
|
|
|
|