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

Unified Diff: chrome/browser/resources/options/supervised_user_create_confirm.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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/options/supervised_user_create_confirm.js
diff --git a/chrome/browser/resources/options/supervised_user_create_confirm.js b/chrome/browser/resources/options/supervised_user_create_confirm.js
index cd3274b790dc797b3129bd28195fdc6ab0354ebf..96f9a5e010ff7dd5ba5e068c19565e413b10847a 100644
--- a/chrome/browser/resources/options/supervised_user_create_confirm.js
+++ b/chrome/browser/resources/options/supervised_user_create_confirm.js
@@ -14,9 +14,10 @@ cr.define('options', function() {
* @extends {cr.ui.pageManager.Page}
*/
function SupervisedUserCreateConfirmOverlay() {
- Page.call(this, 'supervisedUserCreateConfirm',
- '', // The title will be based on the new profile name.
- 'supervised-user-created');
+ Page.call(
+ this, 'supervisedUserCreateConfirm',
+ '', // The title will be based on the new profile name.
+ 'supervised-user-created');
}
cr.addSingletonGetter(SupervisedUserCreateConfirmOverlay);
@@ -74,11 +75,9 @@ cr.define('options', function() {
// HTML-escape the user-supplied strings before putting them into
// innerHTML. This is probably excessive for the email address, but
// belt-and-suspenders is cheap here.
- $('supervised-user-created-text').innerHTML =
- loadTimeData.getStringF('supervisedUserCreatedText',
- HTMLEscape(elidedName),
- HTMLEscape(elide(info.custodianEmail,
- MAX_LENGTH)));
+ $('supervised-user-created-text').innerHTML = loadTimeData.getStringF(
+ 'supervisedUserCreatedText', HTMLEscape(elidedName),
+ HTMLEscape(elide(info.custodianEmail, MAX_LENGTH)));
},
/** @override */

Powered by Google App Engine
This is Rietveld 408576698