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