| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // WARNING: DO NOT EDIT. This file was generated by a program. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. |
| 3 // found in the LICENSE file. | |
| 4 | 3 |
| 5 library http_request_mojom; | 4 library http_request_mojom; |
| 6 import 'package:mojo/bindings.dart' as bindings; | 5 import 'package:mojo/bindings.dart' as bindings; |
| 7 import 'package:mojo/core.dart' as core; | 6 import 'package:mojo/core.dart' as core; |
| 8 | 7 |
| 9 | 8 |
| 10 | 9 |
| 11 | 10 |
| 12 class HttpRequest extends bindings.Struct { | 11 class HttpRequest extends bindings.Struct { |
| 13 static const List<bindings.StructDataHeader> kVersions = const [ | 12 static const List<bindings.StructDataHeader> kVersions = const [ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 } | 165 } |
| 167 | 166 |
| 168 Map toJson() { | 167 Map toJson() { |
| 169 throw new bindings.MojoCodecError( | 168 throw new bindings.MojoCodecError( |
| 170 'Object containing handles cannot be encoded to JSON.'); | 169 'Object containing handles cannot be encoded to JSON.'); |
| 171 } | 170 } |
| 172 } | 171 } |
| 173 | 172 |
| 174 | 173 |
| 175 | 174 |
| OLD | NEW |