| 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 http_request_mojom; | 5 library http_request_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 | 9 |
| 10 | 10 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 } | 166 } |
| 167 | 167 |
| 168 Map toJson() { | 168 Map toJson() { |
| 169 throw new bindings.MojoCodecError( | 169 throw new bindings.MojoCodecError( |
| 170 'Object containing handles cannot be encoded to JSON.'); | 170 'Object containing handles cannot be encoded to JSON.'); |
| 171 } | 171 } |
| 172 } | 172 } |
| 173 | 173 |
| 174 | 174 |
| 175 | 175 |
| 176 | |
| 177 | |
| 178 | |
| OLD | NEW |