/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {BaseException, WrappedException} from '@angular/facade/src/exceptions'; import {MeasureValues} from './measure_values'; /** * A reporter reports measure values and the valid sample. */ export abstract class Reporter { static bindTo(delegateToken): any[] { return [{provide: Reporter, useFactory: (delegate) => delegate, deps: [delegateToken]}]; } reportMeasureValues(values: MeasureValues): Promise { throw new BaseException('NYI'); } reportSample(completeSample: MeasureValues[], validSample: MeasureValues[]): Promise { throw new BaseException('NYI'); } }