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

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

Issue 2498153002: [MD Settings][MD User Manager] create/manage profile desktop shortcut (Windows only) (Closed)
Patch Set: Addressed comments Created 4 years, 1 month 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 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]);
},

Powered by Google App Engine
This is Rietveld 408576698