| Index: chrome/browser/resources/options/manage_profile_overlay.js
|
| diff --git a/chrome/browser/resources/options/manage_profile_overlay.js b/chrome/browser/resources/options/manage_profile_overlay.js
|
| index 04ff1ac0b01f8b807d93e413a8762754fe41ae04..6bf69f82750f1447465aeebeeac04d34fb2f45e3 100644
|
| --- a/chrome/browser/resources/options/manage_profile_overlay.js
|
| +++ b/chrome/browser/resources/options/manage_profile_overlay.js
|
| @@ -418,7 +418,7 @@ cr.define('options', function() {
|
| * @private
|
| */
|
| onSigninError_: function() {
|
| - this.updateSignedInStatus_(this.signedInEmail_, true);
|
| + this.updateSignedInStatus(this.signedInEmail_, true);
|
| },
|
|
|
| /**
|
| @@ -461,8 +461,15 @@ cr.define('options', function() {
|
| options.SupervisedUserListData.resetPromise();
|
| },
|
|
|
| - /** @private */
|
| - updateSignedInStatus_: assertNotReached,
|
| + /**
|
| + * Abstract method. Should be overriden in subclasses.
|
| + * @param {string} email
|
| + * @param {boolean} hasError
|
| + * @protected
|
| + */
|
| + updateSignedInStatus: function(email, hasError) {
|
| + assertNotReached();
|
| + },
|
|
|
| /**
|
| * Called when the user clicks "OK" or hits enter. Creates the profile
|
| @@ -769,6 +776,15 @@ cr.define('options', function() {
|
| },
|
|
|
| /**
|
| + * @param {string} email
|
| + * @param {boolean} hasError
|
| + * @override
|
| + */
|
| + updateSignedInStatus: function(email, hasError) {
|
| + this.updateSignedInStatus_(email, hasError);
|
| + },
|
| +
|
| + /**
|
| * Updates the signed-in or not-signed-in UI when in create mode. Called by
|
| * the handler in response to the 'requestCreateProfileUpdate' message.
|
| * updateSupervisedUsersAllowed_ is expected to be called after this is, and
|
|
|