Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: third_party/WebKit/Source/wtf/text/StringView.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "wtf/Allocator.h"
9 #include "wtf/GetPtr.h" 9 #include "wtf/GetPtr.h"
10 #if DCHECK_IS_ON() 10 #if DCHECK_IS_ON()
11 #include "wtf/RefPtr.h" 11 #include "wtf/RefPtr.h"
12 #endif 12 #endif
13 #include <cstring>
13 #include "wtf/text/StringImpl.h" 14 #include "wtf/text/StringImpl.h"
14 #include "wtf/text/Unicode.h" 15 #include "wtf/text/Unicode.h"
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 //
25 // Since StringView does not own the bytes creating a StringView from a String, 25 // Since StringView does not own the bytes creating a StringView from a String,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringToNumberTest.cpp ('k') | third_party/WebKit/Source/wtf/text/TextCodec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698