Imports necessary for Glean to work in the iOS megazord again

This commit is contained in:
Travis Long 2022-06-09 15:03:19 -05:00 коммит произвёл Jan-Erik Rediger
Родитель cf68c13a9b
Коммит 13533c3a44
7 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation import Foundation
import UIKit
private typealias GleanBaseline = GleanMetrics.GleanBaseline private typealias GleanBaseline = GleanMetrics.GleanBaseline
private typealias GleanInternalMetrics = GleanMetrics.GleanInternalMetrics private typealias GleanInternalMetrics = GleanMetrics.GleanInternalMetrics

Просмотреть файл

@ -2,6 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
/// This implements the developer facing API for recording datetime metrics. /// This implements the developer facing API for recording datetime metrics.
/// ///
/// Instances of this class type are automatically generated by the parsers at build time, /// Instances of this class type are automatically generated by the parsers at build time,

Просмотреть файл

@ -2,6 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
/// This implements the developer facing API for recording URL metrics. /// This implements the developer facing API for recording URL metrics.
/// ///
/// Instances of this class type are automatically generated by the parsers at build time, /// Instances of this class type are automatically generated by the parsers at build time,

Просмотреть файл

@ -2,6 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
/// This implements the developer facing API for recording UUID metrics. /// This implements the developer facing API for recording UUID metrics.
/// ///
/// Instances of this class type are automatically generated by the parsers at build time, /// Instances of this class type are automatically generated by the parsers at build time,

Просмотреть файл

@ -2,6 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
/// This class represents a ping uploader via HTTP. /// This class represents a ping uploader via HTTP.
/// ///
/// This will typically be invoked by the appropriate scheduling mechanism to upload a ping to the server. /// This will typically be invoked by the appropriate scheduling mechanism to upload a ping to the server.

Просмотреть файл

@ -2,6 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
import UIKit
private typealias GleanBaseline = GleanMetrics.GleanBaseline private typealias GleanBaseline = GleanMetrics.GleanBaseline
class GleanLifecycleObserver { class GleanLifecycleObserver {

Просмотреть файл

@ -2,6 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
import UIKit
/// MetricsPingScheduler facilitates scheduling the periodic assembling of metrics pings, /// MetricsPingScheduler facilitates scheduling the periodic assembling of metrics pings,
/// at a given time, trying its best to handle the following cases: /// at a given time, trying its best to handle the following cases:
/// ///