| 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 "gin/array_buffer.h" | 7 #include "gin/array_buffer.h" |
| 8 #include "gin/converter.h" | 8 #include "gin/converter.h" |
| 9 #include "gin/dictionary.h" | 9 #include "gin/dictionary.h" |
| 10 #include "gin/per_context_data.h" | 10 #include "gin/per_context_data.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 if (result == MOJO_RESULT_FAILED_PRECONDITION) | 122 if (result == MOJO_RESULT_FAILED_PRECONDITION) |
| 123 resolver->Resolve(settled_value); | 123 resolver->Resolve(settled_value); |
| 124 else | 124 else |
| 125 resolver->Reject(settled_value); | 125 resolver->Reject(settled_value); |
| 126 | 126 |
| 127 delete this; | 127 delete this; |
| 128 } | 128 } |
| 129 | 129 |
| 130 } // namespace js | 130 } // namespace js |
| 131 } // namespace mojo | 131 } // namespace mojo |
| OLD | NEW |