1 // Copyright (c) 2013 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.
8 * @fileoverview Base class for trace data importers.
11 tvcm.exportTo('tracing.importer', function() {
16 Importer.prototype = {
17 __proto__: Object.prototype,
20 * Called by the Model to extract one or more subtraces from the event data.
22 extractSubtraces: function() {
27 * Called to import events into the Model.
29 importEvents: function() {
33 * Called to import sample data into the Model.
35 importSampleData: function() {
39 * Called by the Model after all other importers have imported their
42 finalizeImport: function() {
46 * Called by the Model to join references between objects, after final
47 * model bounds have been computed.
49 joinRefs: function() {