* @param {!Window} win
(win)
| 95 | * @param {!Window} win |
| 96 | */ |
| 97 | constructor(win) { |
| 98 | /** @const {!Window} */ |
| 99 | this.win = win; |
| 100 | |
| 101 | /** @const @private */ |
| 102 | this.ampdocService_ = Services.ampdocServiceFor(win); |
| 103 | |
| 104 | /** @private @const {!{[key: string]: !ExtensionHolderDef}} */ |
| 105 | this.extensions_ = {}; |
| 106 | |
| 107 | /** @private {?string} */ |
| 108 | this.currentExtensionId_ = null; |
| 109 | |
| 110 | /** @private {?string} */ |
| 111 | this.currentExtensionVersion_ = null; |
| 112 | |
| 113 | /** @private {?boolean} */ |
| 114 | this.currentExtensionLatest_ = null; |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Register and process the specified extension. The factory is called |
nothing calls this directly
no outgoing calls
no test coverage detected