| 80 | * SPDX-License-Identifier: Apache-2.0 |
| 81 | */ |
| 82 | BaseGatherer = class { |
| 83 | static { |
| 84 | __name(this, "BaseGatherer"); |
| 85 | } |
| 86 | /** @type {LH.Gatherer.GathererMeta} */ |
| 87 | meta = { supportedModes: [] }; |
| 88 | /** |
| 89 | * Method to start observing a page for an arbitrary period of time. |
| 90 | * @param {LH.Gatherer.Context} passContext |
| 91 | * @return {Promise<void>|void} |
| 92 | */ |
| 93 | startInstrumentation(passContext) { |
| 94 | } |
| 95 | /** |
| 96 | * Method to start observing a page when the measurements are very sensitive and |
| 97 | * should observe as little Lighthouse-induced work as possible. |
| 98 | * @param {LH.Gatherer.Context} passContext |
| 99 | * @return {Promise<void>|void} |
| 100 | */ |
| 101 | startSensitiveInstrumentation(passContext) { |
| 102 | } |
| 103 | /** |
| 104 | * Method to stop observing a page when the measurements are very sensitive and |
| 105 | * should observe as little Lighthouse-induced work as possible. |
| 106 | * |
| 107 | * @param {LH.Gatherer.Context} passContext |
| 108 | * @return {Promise<void>|void} |
| 109 | */ |
| 110 | stopSensitiveInstrumentation(passContext) { |
| 111 | } |
| 112 | /** |
| 113 | * Method to end observing a page after an arbitrary period of time. |
| 114 | * @param {LH.Gatherer.Context} passContext |
| 115 | * @return {Promise<void>|void} |
| 116 | */ |
| 117 | stopInstrumentation(passContext) { |
| 118 | } |
| 119 | /** |
| 120 | * Method to gather results about a page. |
| 121 | * @param {LH.Gatherer.Context} passContext |
| 122 | * @return {LH.Gatherer.PhaseResult} |
| 123 | */ |
| 124 | getArtifact(passContext) { |
| 125 | } |
| 126 | }; |
| 127 | base_gatherer_default = BaseGatherer; |
| 128 | } |
| 129 | }); |