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

Side by Side Diff: third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h

Issue 2058613002: Move WTF string to number converter functions to StringToNumber.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing files. Created 4 years, 6 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 String16WTF_h 5 #ifndef String16WTF_h
6 #define String16WTF_h 6 #define String16WTF_h
7 7
8 #include "platform/Decimal.h" 8 #include "platform/Decimal.h"
9 #include "public/platform/WebString.h" 9 #include "public/platform/WebString.h"
10 #include "wtf/text/StringBuilder.h" 10 #include "wtf/text/StringBuilder.h"
11 #include "wtf/text/StringConcatenate.h" 11 #include "wtf/text/StringConcatenate.h"
12 #include "wtf/text/StringHash.h" 12 #include "wtf/text/StringHash.h"
13 #include "wtf/text/StringToNumber.h"
13 #include "wtf/text/WTFString.h" 14 #include "wtf/text/WTFString.h"
14 15
15 namespace blink { 16 namespace blink {
16 namespace protocol { 17 namespace protocol {
17 18
18 class PLATFORM_EXPORT String16 { 19 class PLATFORM_EXPORT String16 {
19 public: 20 public:
20 String16() { } 21 String16() { }
21 String16(const String16& other); 22 String16(const String16& other);
22 String16(const UChar*, unsigned); 23 String16(const UChar*, unsigned);
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 template<> 133 template<>
133 struct HashTraits<String16> : SimpleClassHashTraits<String16> { 134 struct HashTraits<String16> : SimpleClassHashTraits<String16> {
134 static const bool hasIsEmptyValueFunction = true; 135 static const bool hasIsEmptyValueFunction = true;
135 static bool isEmptyValue(const String16& a) { return a.impl().isNull(); } 136 static bool isEmptyValue(const String16& a) { return a.impl().isNull(); }
136 }; 137 };
137 138
138 } // namespace WTF 139 } // namespace WTF
139 140
140 #endif // !defined(String16WTF_h) 141 #endif // !defined(String16WTF_h)
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/track/vtt/VTTScanner.cpp ('k') | third_party/WebKit/Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698