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.
7 <link rel="import" href="/tvcm.html">
12 * @fileoverview Base class for trace data importers.
14 tvcm.exportTo('tracing.importer', function() {
15 function Importer() { }
17 Importer.prototype = {
18 __proto__: Object.prototype,
21 * Called by the Model to extract one or more subtraces from the event data.
23 extractSubtraces: function() {
28 * Called to import events into the Model.
30 importEvents: function() {
34 * Called to import sample data into the Model.
36 importSampleData: function() {
40 * Called by the Model after all other importers have imported their
43 finalizeImport: function() {
47 * Called by the Model to join references between objects, after final
48 * model bounds have been computed.
50 joinRefs: function() {