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

Unified Diff: chrome/browser/resources/settings/people_page/sync_private_api.js

Issue 1608103002: Settings Rewrite: Fix Opening Sync User login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/settings/people_page/sync_private_api.js
diff --git a/chrome/browser/resources/settings/people_page/sync_private_api.js b/chrome/browser/resources/settings/people_page/sync_private_api.js
index 1682433657be4d02d6a89112a5a79c91626f27ca..eb529c292e63006e07c34f780019b9922c814dc7 100644
--- a/chrome/browser/resources/settings/people_page/sync_private_api.js
+++ b/chrome/browser/resources/settings/people_page/sync_private_api.js
@@ -156,7 +156,10 @@ cr.define('settings', function() {
* @private
*/
SyncPrivateApi.startSignIn = function() {
- chrome.send('SyncSetupStartSignIn');
+ // TODO(tommycli): Currently this is always false, but this will become
+ // a parameter once supervised users are implemented in MD Settings.
+ var creatingSupervisedUser = false;
+ chrome.send('SyncSetupStartSignIn', [creatingSupervisedUser]);
};
/**
« no previous file with comments | « chrome/browser/resources/options/sync_setup_overlay.js ('k') | chrome/browser/ui/webui/options/sync_setup_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698