| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project 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 #ifndef V8_D8_H_ | 5 #ifndef V8_D8_H_ |
| 6 #define V8_D8_H_ | 6 #define V8_D8_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| 11 #include "src/base/hashmap.h" | 11 #include "src/base/hashmap.h" |
| 12 #include "src/base/platform/time.h" | 12 #include "src/base/platform/time.h" |
| 13 #include "src/list.h" | 13 #include "src/list.h" |
| 14 #include "src/utils.h" |
| 14 | 15 |
| 15 #include "src/base/once.h" | 16 #include "src/base/once.h" |
| 16 | 17 |
| 17 | 18 |
| 18 namespace v8 { | 19 namespace v8 { |
| 19 | 20 |
| 20 | 21 |
| 21 // A single counter in a counter collection. | 22 // A single counter in a counter collection. |
| 22 class Counter { | 23 class Counter { |
| 23 public: | 24 public: |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 const v8::FunctionCallbackInfo<v8::Value>& args); | 459 const v8::FunctionCallbackInfo<v8::Value>& args); |
| 459 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context, | 460 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context, |
| 460 const std::string& file_name); | 461 const std::string& file_name); |
| 461 }; | 462 }; |
| 462 | 463 |
| 463 | 464 |
| 464 } // namespace v8 | 465 } // namespace v8 |
| 465 | 466 |
| 466 | 467 |
| 467 #endif // V8_D8_H_ | 468 #endif // V8_D8_H_ |
| OLD | NEW |