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_response_mojom; | 5 library http_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 | 9 |
10 | 10 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 } | 179 } |
180 | 180 |
181 Map toJson() { | 181 Map toJson() { |
182 throw new bindings.MojoCodecError( | 182 throw new bindings.MojoCodecError( |
183 'Object containing handles cannot be encoded to JSON.'); | 183 'Object containing handles cannot be encoded to JSON.'); |
184 } | 184 } |
185 } | 185 } |
186 | 186 |
187 | 187 |
188 | 188 |
189 | |
190 | |
191 | |
OLD | NEW |