OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_INSPECTOR_STRINGUTIL_H_ | 5 #ifndef V8_INSPECTOR_STRINGUTIL_H_ |
6 #define V8_INSPECTOR_STRINGUTIL_H_ | 6 #define V8_INSPECTOR_STRINGUTIL_H_ |
7 | 7 |
8 #include "src/inspector/Allocator.h" | 8 #include "src/inspector/Allocator.h" |
9 #include "src/inspector/String16.h" | 9 #include "src/inspector/String16.h" |
10 #include "src/inspector/public/StringBuffer.h" | |
11 #include "src/inspector/public/StringView.h" | |
12 | 10 |
13 #include <v8.h> | 11 #include "include/v8-inspector.h" |
14 | 12 |
15 namespace v8_inspector { | 13 namespace v8_inspector { |
16 | 14 |
17 namespace protocol { | 15 namespace protocol { |
18 | 16 |
19 class Value; | 17 class Value; |
20 | 18 |
21 using String = v8_inspector::String16; | 19 using String = v8_inspector::String16; |
22 using StringBuilder = v8_inspector::String16Builder; | 20 using StringBuilder = v8_inspector::String16Builder; |
23 | 21 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 62 |
65 private: | 63 private: |
66 explicit StringBufferImpl(String16&); | 64 explicit StringBufferImpl(String16&); |
67 String16 m_owner; | 65 String16 m_owner; |
68 StringView m_string; | 66 StringView m_string; |
69 }; | 67 }; |
70 | 68 |
71 } // namespace v8_inspector | 69 } // namespace v8_inspector |
72 | 70 |
73 #endif // V8_INSPECTOR_STRINGUTIL_H_ | 71 #endif // V8_INSPECTOR_STRINGUTIL_H_ |
OLD | NEW |