Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / trace_viewer / about_tracing / tracing_controller_client.html
1 <!DOCTYPE html>
2 <!--
3 Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7
8 <link rel="import" href="/tvcm.html">
9 <script>
10 'use strict';
11
12 tvcm.exportTo('about_tracing', function() {
13   /**
14    * Communicates with content/browser/tracing_controller_impl.cc
15    *
16    * @constructor
17    */
18   function TracingControllerClient() { }
19
20   TracingControllerClient.prototype = {
21     beginMonitoring: function(monitoringOptions) { },
22     endMonitoring: function() { },
23     captureMonitoring: function() { },
24     getMonitoringStatus: function() { },
25     getCategories: function() { },
26     beginRecording: function(recordingOptions) { },
27     beginGetBufferPercentFull: function() { },
28     endRecording: function() { }
29   };
30
31   return {
32     TracingControllerClient: TracingControllerClient
33   };
34 });
35 </script>