Index: chrome/browser/resources/extensions/extensions.js |
diff --git a/chrome/browser/resources/extensions/extensions.js b/chrome/browser/resources/extensions/extensions.js |
index 32e0df1a6061c892af9b5fbe52f4751e7096df33..fa1386e9f4153fd4f0b769f680bfcaa828038349 100644 |
--- a/chrome/browser/resources/extensions/extensions.js |
+++ b/chrome/browser/resources/extensions/extensions.js |
@@ -303,12 +303,12 @@ cr.define('extensions', function() { |
var pageDiv = $('extension-settings'); |
var marginTop = 0; |
- if (extensionsData.profileIsManaged) { |
- pageDiv.classList.add('profile-is-managed'); |
+ if (extensionsData.profileIsSupervised) { |
+ pageDiv.classList.add('profile-is-supervised'); |
} else { |
- pageDiv.classList.remove('profile-is-managed'); |
+ pageDiv.classList.remove('profile-is-supervised'); |
} |
- if (extensionsData.profileIsManaged) { |
+ if (extensionsData.profileIsSupervised) { |
pageDiv.classList.add('showing-banner'); |
$('toggle-dev-on').disabled = true; |
marginTop += 45; |
@@ -337,7 +337,7 @@ cr.define('extensions', function() { |
ExtensionsList.prototype.data_ = extensionsData; |
var extensionList = $('extension-settings-list'); |
ExtensionsList.decorate(extensionList); |
- } |
+ }; |
// Indicate that warning |message| has occured for pack of |crx_path| and |
// |pem_path| files. Ask if user wants override the warning. Send |
@@ -359,7 +359,7 @@ cr.define('extensions', function() { |
}, |
closeAlert); |
ExtensionSettings.showOverlay($('alertOverlay')); |
- } |
+ }; |
/** |
* Returns the current overlay or null if one does not exist. |
@@ -367,7 +367,7 @@ cr.define('extensions', function() { |
*/ |
ExtensionSettings.getCurrentOverlay = function() { |
return document.querySelector('#overlay .page.showing'); |
- } |
+ }; |
/** |
* Sets the given overlay to show. This hides whatever overlay is currently |
@@ -400,7 +400,7 @@ cr.define('extensions', function() { |
overlay.hidden = !node; |
uber.invokeMethodOnParent(node ? 'beginInterceptingEvents' : |
'stopInterceptingEvents'); |
- } |
+ }; |
/** |
* Utility function to find the width of various UI strings and synchronize |