d35aaf74e2
Bug: v8:10644 Change-Id: I24229cbbf6a3ffea0fd4c3b96ef6eaf1e780b6e9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2565136 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#71505}
24 lines
565 B
JavaScript
24 lines
565 B
JavaScript
// Copyright 2020 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
export class LogEntry {
|
|
_time;
|
|
_type;
|
|
constructor(type, time) {
|
|
// TODO(zcankara) remove type and add empty getters to override
|
|
this._time = time;
|
|
this._type = type;
|
|
}
|
|
get time() {
|
|
return this._time;
|
|
}
|
|
get type() {
|
|
return this._type;
|
|
}
|
|
// Returns an Array of all possible #type values.
|
|
static get allTypes() {
|
|
throw new Error('Not implemented.');
|
|
}
|
|
}
|