| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CSSTokenizerInputStream_h | 5 #ifndef CSSTokenizerInputStream_h |
| 6 #define CSSTokenizerInputStream_h | 6 #define CSSTokenizerInputStream_h |
| 7 | 7 |
| 8 #include "wtf/text/StringView.h" | 8 #include "platform/wtf/text/StringView.h" |
| 9 #include "wtf/text/WTFString.h" | 9 #include "platform/wtf/text/WTFString.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class CSSTokenizerInputStream { | 13 class CSSTokenizerInputStream { |
| 14 WTF_MAKE_NONCOPYABLE(CSSTokenizerInputStream); | 14 WTF_MAKE_NONCOPYABLE(CSSTokenizerInputStream); |
| 15 USING_FAST_MALLOC(CSSTokenizerInputStream); | 15 USING_FAST_MALLOC(CSSTokenizerInputStream); |
| 16 | 16 |
| 17 public: | 17 public: |
| 18 explicit CSSTokenizerInputStream(const String& input); | 18 explicit CSSTokenizerInputStream(const String& input); |
| 19 | 19 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 private: | 74 private: |
| 75 size_t offset_; | 75 size_t offset_; |
| 76 const size_t string_length_; | 76 const size_t string_length_; |
| 77 const RefPtr<StringImpl> string_; | 77 const RefPtr<StringImpl> string_; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace blink | 80 } // namespace blink |
| 81 | 81 |
| 82 #endif // CSSTokenizerInputStream_h | 82 #endif // CSSTokenizerInputStream_h |
| OLD | NEW |