OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "gin/modules/module_registry.h" | 5 #include "gin/modules/module_registry.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <string> | 10 #include <string> |
8 #include <vector> | 11 #include <vector> |
9 | 12 |
10 #include "base/logging.h" | 13 #include "base/logging.h" |
11 #include "gin/arguments.h" | 14 #include "gin/arguments.h" |
12 #include "gin/converter.h" | 15 #include "gin/converter.h" |
13 #include "gin/modules/module_registry_observer.h" | 16 #include "gin/modules/module_registry_observer.h" |
14 #include "gin/per_context_data.h" | 17 #include "gin/per_context_data.h" |
15 #include "gin/per_isolate_data.h" | 18 #include "gin/per_isolate_data.h" |
16 #include "gin/public/wrapper_info.h" | 19 #include "gin/public/wrapper_info.h" |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 for (size_t i = 0; i < pending_modules.size(); ++i) { | 278 for (size_t i = 0; i < pending_modules.size(); ++i) { |
276 scoped_ptr<PendingModule> pending(pending_modules[i]); | 279 scoped_ptr<PendingModule> pending(pending_modules[i]); |
277 pending_modules[i] = NULL; | 280 pending_modules[i] = NULL; |
278 if (AttemptToLoad(isolate, pending.Pass())) | 281 if (AttemptToLoad(isolate, pending.Pass())) |
279 keep_trying = true; | 282 keep_trying = true; |
280 } | 283 } |
281 } | 284 } |
282 } | 285 } |
283 | 286 |
284 } // namespace gin | 287 } // namespace gin |
OLD | NEW |