blob: 5582a1443b5c1d720241b78f453357d7cd474a0c [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
/**
* @fileoverview Provides the Process class.
*/
base.require('process_base');
base.exportTo('tracing', function() {
/**
* The Kernel represents kernel-level objects in the
* model.
* @constructor
*/
function Kernel() {
tracing.ProcessBase.call(this);
};
/**
* Comparison between kernels is pretty meaningless.
*/
Kernel.compare = function(x, y) {
return 0;
};
Kernel.prototype = {
__proto__: tracing.ProcessBase.prototype,
compareTo: function(that) {
return Kernel.compare(this, that);
},
get userFriendlyName() {
return 'kernel';
},
get userFriendlyDetails() {
return 'kernel';
}
};
return {
Kernel: Kernel
};
});