| 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_JSON_STRINGIFIER_H_ | 5 #ifndef V8_JSON_STRINGIFIER_H_ |
| 6 #define V8_JSON_STRINGIFIER_H_ | 6 #define V8_JSON_STRINGIFIER_H_ |
| 7 | 7 |
| 8 #include "src/conversions.h" | 8 #include "src/conversions.h" |
| 9 #include "src/lookup.h" |
| 9 #include "src/messages.h" | 10 #include "src/messages.h" |
| 10 #include "src/string-builder.h" | 11 #include "src/string-builder.h" |
| 11 #include "src/utils.h" | 12 #include "src/utils.h" |
| 12 | 13 |
| 13 namespace v8 { | 14 namespace v8 { |
| 14 namespace internal { | 15 namespace internal { |
| 15 | 16 |
| 16 class BasicJsonStringifier BASE_EMBEDDED { | 17 class BasicJsonStringifier BASE_EMBEDDED { |
| 17 public: | 18 public: |
| 18 explicit BasicJsonStringifier(Isolate* isolate); | 19 explicit BasicJsonStringifier(Isolate* isolate); |
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 SerializeString_<uint8_t, uc16>(object); | 671 SerializeString_<uint8_t, uc16>(object); |
| 671 } else { | 672 } else { |
| 672 SerializeString_<uc16, uc16>(object); | 673 SerializeString_<uc16, uc16>(object); |
| 673 } | 674 } |
| 674 } | 675 } |
| 675 } | 676 } |
| 676 | 677 |
| 677 } } // namespace v8::internal | 678 } } // namespace v8::internal |
| 678 | 679 |
| 679 #endif // V8_JSON_STRINGIFIER_H_ | 680 #endif // V8_JSON_STRINGIFIER_H_ |
| OLD | NEW |