| 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 17e4752163df980edc2c663600979e8d4fabe48d..10aa3001c9a6cc3c5d6cd3d1aabd4a908ea54249 100644
|
| --- a/chrome/browser/resources/settings/people_page/sync_private_api.js
|
| +++ b/chrome/browser/resources/settings/people_page/sync_private_api.js
|
| @@ -90,9 +90,6 @@ cr.define('settings', function() {
|
| */
|
| function SyncPrivateApi() {}
|
|
|
| - /** @private {?function(!string, !string)} */
|
| - SyncPrivateApi.getProfileInfoCallback_ = null;
|
| -
|
| /** @private {?function(settings.SyncPrefs)} */
|
| SyncPrivateApi.syncPrefsCallback_ = null;
|
|
|
| @@ -100,25 +97,6 @@ cr.define('settings', function() {
|
| SyncPrivateApi.setPageStatusCallback_ = null;
|
|
|
| /**
|
| - * Called from JavaScript. Gets the current profile name and icon.
|
| - * @param {?function(!string, !string)} callback
|
| - */
|
| - SyncPrivateApi.getProfileInfo = function(callback) {
|
| - SyncPrivateApi.getProfileInfoCallback_ = callback;
|
| - chrome.send('getProfileInfo');
|
| - };
|
| -
|
| - /**
|
| - * Called from C++ as a response to getIconsAndNames.
|
| - * @param {!string} name The current profile name.
|
| - * @param {!string} iconUrl The current profile icon's URL. Can be a data URL.
|
| - */
|
| - SyncPrivateApi.receiveProfileInfo = function(name, iconUrl) {
|
| - if (SyncPrivateApi.getProfileInfoCallback_)
|
| - SyncPrivateApi.getProfileInfoCallback_(name, iconUrl);
|
| - };
|
| -
|
| - /**
|
| * Starts the signin process for the user. Does nothing if the user is
|
| * already signed in.
|
| * @private
|
|
|