| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library url_response_mojom; | 5 library url_response_mojom; |
| 6 import 'package:mojo/bindings.dart' as bindings; | 6 import 'package:mojo/bindings.dart' as bindings; |
| 7 import 'package:mojo/core.dart' as core; | 7 import 'package:mojo/core.dart' as core; |
| 8 | 8 |
| 9 import 'package:mojo/mojo/http_header.mojom.dart' as http_header_mojom; | 9 import 'package:mojo/mojo/http_header.mojom.dart' as http_header_mojom; |
| 10 import 'package:mojo/mojo/network_error.mojom.dart' as network_error_mojom; | 10 import 'package:mojo/mojo/network_error.mojom.dart' as network_error_mojom; |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 } | 225 } |
| 226 | 226 |
| 227 Map toJson() { | 227 Map toJson() { |
| 228 throw new bindings.MojoCodecError( | 228 throw new bindings.MojoCodecError( |
| 229 'Object containing handles cannot be encoded to JSON.'); | 229 'Object containing handles cannot be encoded to JSON.'); |
| 230 } | 230 } |
| 231 } | 231 } |
| 232 | 232 |
| 233 | 233 |
| 234 | 234 |
| 235 | |
| 236 | |
| 237 | |
| OLD | NEW |