| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * Only used for tests. | 6 * Only used for tests. |
| 7 * @typedef {{ | 7 * @typedef {{ |
| 8 * auto_downloads: !Array<!RawSiteException>}, | 8 * auto_downloads: !Array<!RawSiteException>}, |
| 9 * background_sync: !Array<!RawSiteException>}, | 9 * background_sync: !Array<!RawSiteException>}, |
| 10 * camera: !Array<!RawSiteException>}, | 10 * camera: !Array<!RawSiteException>}, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 'observeProtocolHandlers', | 86 'observeProtocolHandlers', |
| 87 'observeProtocolHandlersEnabledState', | 87 'observeProtocolHandlersEnabledState', |
| 88 'reloadCookies', | 88 'reloadCookies', |
| 89 'removeCookie', | 89 'removeCookie', |
| 90 'removeProtocolHandler', | 90 'removeProtocolHandler', |
| 91 'removeUsbDevice', | 91 'removeUsbDevice', |
| 92 'removeZoomLevel', | 92 'removeZoomLevel', |
| 93 'resetCategoryPermissionForOrigin', | 93 'resetCategoryPermissionForOrigin', |
| 94 'setCategoryPermissionForOrigin', | 94 'setCategoryPermissionForOrigin', |
| 95 'setDefaultValueForContentType', | 95 'setDefaultValueForContentType', |
| 96 'setProtocolDefault' | 96 'setProtocolDefault', |
| 97 'updateIncognitoStatus', |
| 97 ]); | 98 ]); |
| 98 | 99 |
| 99 /** @private {boolean} */ | 100 /** @private {boolean} */ |
| 100 this.hasIncognito_ = false; | 101 this.hasIncognito_ = false; |
| 101 | 102 |
| 102 /** @private {!SiteSettingsPref} */ | 103 /** @private {!SiteSettingsPref} */ |
| 103 this.prefs_ = prefsEmpty; | 104 this.prefs_ = prefsEmpty; |
| 104 | 105 |
| 105 /** @private {!Array<ZoomLevelEntry>} */ | 106 /** @private {!Array<ZoomLevelEntry>} */ |
| 106 this.zoomList_ = []; | 107 this.zoomList_ = []; |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 }, | 365 }, |
| 365 | 366 |
| 366 /** @override */ | 367 /** @override */ |
| 367 setProtocolDefault: function() { | 368 setProtocolDefault: function() { |
| 368 this.methodCalled('setProtocolDefault', arguments); | 369 this.methodCalled('setProtocolDefault', arguments); |
| 369 }, | 370 }, |
| 370 | 371 |
| 371 /** @override */ | 372 /** @override */ |
| 372 removeProtocolHandler: function() { | 373 removeProtocolHandler: function() { |
| 373 this.methodCalled('removeProtocolHandler', arguments); | 374 this.methodCalled('removeProtocolHandler', arguments); |
| 375 }, |
| 376 |
| 377 /** @override */ |
| 378 updateIncognitoStatus: function() { |
| 379 this.methodCalled('updateIncognitoStatus', arguments); |
| 374 } | 380 } |
| 375 }; | 381 }; |
| OLD | NEW |