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 {{module.name|dot_to_underscore}}; | 5 library {{module.name|dot_to_underscore}}; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 {%- if should_gen_mojom_types %} |
| 9 import 'dart:collection'; |
| 10 {%- endif %} |
8 | 11 |
9 import 'package:mojo/bindings.dart' as bindings; | 12 import 'package:mojo/bindings.dart' as bindings; |
10 import 'package:mojo/core.dart' as core; | 13 import 'package:mojo/core.dart' as core; |
| 14 {{mojom_types_import}} |
| 15 {{service_describer_import}} |
11 | 16 |
12 {%- for import in imports %} | 17 {%- for import in imports %} |
13 import 'package:{{import.rebased_path}}.dart' as {{import.unique_name}}; | 18 import 'package:{{import.rebased_path}}.dart' as {{import.unique_name}}; |
14 {%- endfor %} | 19 {%- endfor %} |
15 | 20 |
16 {%- include "module_definition.tmpl" %} | 21 {%- include "module_definition.tmpl" %} |
OLD | NEW |