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 #include "mojo/edk/js/core.h" | 5 #include "mojo/edk/js/core.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "base/bind.h" | 10 #include "base/bind.h" |
8 #include "base/logging.h" | 11 #include "base/logging.h" |
9 #include "gin/arguments.h" | 12 #include "gin/arguments.h" |
10 #include "gin/array_buffer.h" | 13 #include "gin/array_buffer.h" |
11 #include "gin/converter.h" | 14 #include "gin/converter.h" |
12 #include "gin/dictionary.h" | 15 #include "gin/dictionary.h" |
13 #include "gin/function_template.h" | 16 #include "gin/function_template.h" |
14 #include "gin/handle.h" | 17 #include "gin/handle.h" |
15 #include "gin/object_template_builder.h" | 18 #include "gin/object_template_builder.h" |
16 #include "gin/per_isolate_data.h" | 19 #include "gin/per_isolate_data.h" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 .Build(); | 373 .Build(); |
371 | 374 |
372 data->SetObjectTemplate(&g_wrapper_info, templ); | 375 data->SetObjectTemplate(&g_wrapper_info, templ); |
373 } | 376 } |
374 | 377 |
375 return templ->NewInstance(); | 378 return templ->NewInstance(); |
376 } | 379 } |
377 | 380 |
378 } // namespace edk | 381 } // namespace edk |
379 } // namespace mojo | 382 } // namespace mojo |
OLD | NEW |