Chromium Code Reviews| 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 String16STL_h | 5 #ifndef String16STL_h |
| 6 #define String16STL_h | 6 #define String16STL_h |
| 7 | 7 |
| 8 #include <cctype> | 8 #include <cctype> |
| 9 #include <climits> | |
|
eostroukhov
2016/08/15 18:01:02
UINT_MAX
| |
| 9 #include <cstdlib> | 10 #include <cstdlib> |
| 10 #include <cstring> | 11 #include <cstring> |
| 11 #include <stdint.h> | 12 #include <stdint.h> |
| 12 #include <string> | 13 #include <string> |
| 13 #include <vector> | 14 #include <vector> |
| 14 | 15 |
| 15 using UChar = uint16_t; | 16 using UChar = uint16_t; |
| 16 | 17 |
| 17 namespace blink { | 18 namespace blink { |
| 18 namespace protocol { | 19 namespace protocol { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 93 | 94 |
| 94 class InspectorProtocolConvenienceStringType { | 95 class InspectorProtocolConvenienceStringType { |
| 95 public: | 96 public: |
| 96 // This class should not be ever instantiated, so we don't implement constru ctors. | 97 // This class should not be ever instantiated, so we don't implement constru ctors. |
| 97 InspectorProtocolConvenienceStringType(); | 98 InspectorProtocolConvenienceStringType(); |
| 98 InspectorProtocolConvenienceStringType(const blink::protocol::String16& othe r); | 99 InspectorProtocolConvenienceStringType(const blink::protocol::String16& othe r); |
| 99 operator blink::protocol::String16() const { return blink::protocol::String1 6(); }; | 100 operator blink::protocol::String16() const { return blink::protocol::String1 6(); }; |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 #endif // !defined(String16STL_h) | 103 #endif // !defined(String16STL_h) |
| OLD | NEW |