Index: chrome/browser/resources/options/supervised_user_list_data.js |
diff --git a/chrome/browser/resources/options/supervised_user_list_data.js b/chrome/browser/resources/options/supervised_user_list_data.js |
index f73feca63f0421b663ee1f78cf5363acea3aece2..812620e4e277a613b64092921007f22ead5fc248 100644 |
--- a/chrome/browser/resources/options/supervised_user_list_data.js |
+++ b/chrome/browser/resources/options/supervised_user_list_data.js |
@@ -134,19 +134,14 @@ cr.define('options', function() { |
}; |
// Forward public APIs to private implementations. |
- [ |
+ cr.makePublic(SupervisedUserListData, [ |
'addObserver', |
'onSigninError', |
'receiveExistingSupervisedUsers', |
'removeObserver', |
'requestExistingSupervisedUsers', |
'resetPromise', |
- ].forEach(function(name) { |
- SupervisedUserListData[name] = function() { |
- var instance = SupervisedUserListData.getInstance(); |
- return instance[name + '_'].apply(instance, arguments); |
- }; |
- }); |
+ ]); |
// Export |
return { |