Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / src / tracing / trace_model / process_base.js
index 368bf0c..9a7006e 100644 (file)
@@ -7,13 +7,13 @@
 /**
  * @fileoverview Provides the ProcessBase class.
  */
-base.require('base.guid');
-base.require('base.range');
-base.require('tracing.trace_model.counter');
-base.require('tracing.trace_model.object_collection');
-base.require('tracing.trace_model.thread');
-base.require('tracing.trace_model_settings');
-base.exportTo('tracing.trace_model', function() {
+tvcm.require('tvcm.guid');
+tvcm.require('tvcm.range');
+tvcm.require('tracing.trace_model.counter');
+tvcm.require('tracing.trace_model.object_collection');
+tvcm.require('tracing.trace_model.thread');
+tvcm.require('tracing.trace_model_settings');
+tvcm.exportTo('tracing.trace_model', function() {
 
   var Thread = tracing.trace_model.Thread;
   var Counter = tracing.trace_model.Counter;
@@ -27,12 +27,12 @@ base.exportTo('tracing.trace_model', function() {
   function ProcessBase(model) {
     if (!model)
       throw new Error('Must provide a model');
-    this.guid_ = base.GUID.allocate();
+    this.guid_ = tvcm.GUID.allocate();
     this.model = model;
     this.threads = {};
     this.counters = {};
     this.objects = new tracing.trace_model.ObjectCollection(this);
-    this.bounds = new base.Range();
+    this.bounds = new tvcm.Range();
     this.sortIndex = 0;
     this.ephemeralSettings = {};
   };