OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef WTF_StringView_h | 5 #ifndef WTF_StringView_h |
6 #define WTF_StringView_h | 6 #define WTF_StringView_h |
7 | 7 |
8 #include "wtf/Allocator.h" | 8 #include "platform/wtf/Allocator.h" |
9 #include "wtf/GetPtr.h" | 9 #include "platform/wtf/GetPtr.h" |
10 #if DCHECK_IS_ON() | 10 #if DCHECK_IS_ON() |
11 #include "wtf/RefPtr.h" | 11 #include "platform/wtf/RefPtr.h" |
12 #endif | 12 #endif |
13 #include "wtf/text/StringImpl.h" | 13 #include "platform/wtf/text/StringImpl.h" |
14 #include "wtf/text/Unicode.h" | 14 #include "platform/wtf/text/Unicode.h" |
15 #include <cstring> | 15 #include <cstring> |
16 | 16 |
17 namespace WTF { | 17 namespace WTF { |
18 | 18 |
19 class AtomicString; | 19 class AtomicString; |
20 class String; | 20 class String; |
21 | 21 |
22 // A string like object that wraps either an 8bit or 16bit byte sequence | 22 // A string like object that wraps either an 8bit or 16bit byte sequence |
23 // and keeps track of the length and the type, it does NOT own the bytes. | 23 // and keeps track of the length and the type, it does NOT own the bytes. |
24 // | 24 // |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 } | 263 } |
264 | 264 |
265 } // namespace WTF | 265 } // namespace WTF |
266 | 266 |
267 using WTF::StringView; | 267 using WTF::StringView; |
268 using WTF::equalIgnoringASCIICase; | 268 using WTF::equalIgnoringASCIICase; |
269 using WTF::equalIgnoringCase; | 269 using WTF::equalIgnoringCase; |
270 using WTF::isAllSpecialCharacters; | 270 using WTF::isAllSpecialCharacters; |
271 | 271 |
272 #endif | 272 #endif |
OLD | NEW |