blob: ccb9acb0c6a9d4f2f633c273b2de3e944a0d1c47 [file] [log] [blame]
// services/network/public/mojom/source_location.mojom-lite-for-compile.js is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2018 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';
goog.require('mojo.internal');
goog.provide('network.mojom.SourceLocationSpec');
/**
* @const { {$:!mojo.internal.MojomType}}
* @export
*/
network.mojom.SourceLocationSpec =
{ $: /** @type {!mojo.internal.MojomType} */ ({}) };
mojo.internal.Struct(
network.mojom.SourceLocationSpec.$,
'SourceLocation',
[
mojo.internal.StructField(
'url', 0,
0,
mojo.internal.String,
null,
false /* nullable */),
mojo.internal.StructField(
'line', 8,
0,
mojo.internal.Uint32,
0,
false /* nullable */),
mojo.internal.StructField(
'column', 12,
0,
mojo.internal.Uint32,
0,
false /* nullable */),
],
[[0, 24],]);
goog.provide('network.mojom.SourceLocation');
/** @record */
network.mojom.SourceLocation = class {
constructor() {
/** @export { !string } */
this.url;
/** @export { !number } */
this.line;
/** @export { !number } */
this.column;
}
};