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 5 6class ProfilingController(object): 7 def __init__(self, profiling_controller_backend): 8 self._profiling_controller_backend = profiling_controller_backend 9 10 def Start(self, profiler_name, base_output_file): 11 self._profiling_controller_backend.Start( 12 profiler_name, base_output_file) 13 14 def Stop(self): 15 return self._profiling_controller_backend.Stop() 16