* @param {!Window} win * @param {!./deps.DepsDef} deps * @param {!./fetcher.Fetcher} fetcher * * IMPORTANT: deps may not be full initialized config and pageConfig are * available immediately, other function should be gated on a ready promise. * #TODO(jpettitt) switch refactor to ta
(win, deps, fetcher)
| 18609 | * #TODO(jpettitt) switch refactor to take out the win and use deps to get win |
| 18610 | */ |
| 18611 | constructor(win, deps, fetcher) { |
| 18612 | /** @private @const {!Window} */ |
| 18613 | this.win_ = win; |
| 18614 | /** @private {PropensityServer} */ |
| 18615 | this.propensityServer_ = new PropensityServer(win, deps, fetcher); |
| 18616 | |
| 18617 | /** @private @const {!../api/client-event-manager-api.ClientEventManagerApi} */ |
| 18618 | this.eventManager_ = deps.eventManager(); |
| 18619 | } |
| 18620 | |
| 18621 | /** @override */ |
| 18622 | sendSubscriptionState(state, jsonProducts) { |
nothing calls this directly
no test coverage detected