1# Copyright 2015 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# Derived from telemetry OutputFormatter. Should stay close in architecture 6# to telemetry OutputFormatter. 7 8 9class OutputFormatter(object): 10 11 def __init__(self, output_stream): 12 self._output_stream = output_stream 13 14 def Format(self, results): 15 raise NotImplementedError() 16 17 @property 18 def output_stream(self): 19 return self._output_stream 20