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/drain_data.h" | 5 #include "mojo/edk/js/drain_data.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "gin/array_buffer.h" | 10 #include "gin/array_buffer.h" |
8 #include "gin/converter.h" | 11 #include "gin/converter.h" |
9 #include "gin/dictionary.h" | 12 #include "gin/dictionary.h" |
10 #include "gin/per_context_data.h" | 13 #include "gin/per_context_data.h" |
11 #include "gin/per_isolate_data.h" | 14 #include "gin/per_isolate_data.h" |
12 #include "mojo/public/cpp/environment/environment.h" | 15 #include "mojo/public/cpp/environment/environment.h" |
13 #include "mojo/public/cpp/system/core.h" | 16 #include "mojo/public/cpp/system/core.h" |
14 | 17 |
15 namespace mojo { | 18 namespace mojo { |
16 namespace edk { | 19 namespace edk { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 if (result == MOJO_RESULT_FAILED_PRECONDITION) | 125 if (result == MOJO_RESULT_FAILED_PRECONDITION) |
123 resolver->Resolve(settled_value); | 126 resolver->Resolve(settled_value); |
124 else | 127 else |
125 resolver->Reject(settled_value); | 128 resolver->Reject(settled_value); |
126 | 129 |
127 delete this; | 130 delete this; |
128 } | 131 } |
129 | 132 |
130 } // namespace edk | 133 } // namespace edk |
131 } // namespace mojo | 134 } // namespace mojo |
OLD | NEW |