1# Copyright 2014 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 5class TimelineRecorder(object): 6 """Interface for classes that can record timeline raw events.""" 7 def Start(self): 8 """Starts recording.""" 9 raise NotImplementedError 10 11 def Stop(self): 12 """Stops recording and returns timeline event data.""" 13 raise NotImplementedError 14