| 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_response_mojom; | 4 library http_response_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 HttpResponse extends bindings.Struct { | 11 class HttpResponse extends bindings.Struct { |
| 13 static const List<bindings.StructDataHeader> kVersions = const [ | 12 static const List<bindings.StructDataHeader> kVersions = const [ |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 } | 178 } |
| 180 | 179 |
| 181 Map toJson() { | 180 Map toJson() { |
| 182 throw new bindings.MojoCodecError( | 181 throw new bindings.MojoCodecError( |
| 183 'Object containing handles cannot be encoded to JSON.'); | 182 'Object containing handles cannot be encoded to JSON.'); |
| 184 } | 183 } |
| 185 } | 184 } |
| 186 | 185 |
| 187 | 186 |
| 188 | 187 |
| OLD | NEW |