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 TextResource_h | 5 #ifndef TextResource_h |
6 #define TextResource_h | 6 #define TextResource_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/fetch/ResourcePtr.h" | 9 #include "core/fetch/ResourcePtr.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 String encoding() const override; | 22 String encoding() const override; |
23 | 23 |
24 protected: | 24 protected: |
25 TextResource(const ResourceRequest&, Type, const String& mimeType, const Str
ing& charset); | 25 TextResource(const ResourceRequest&, Type, const String& mimeType, const Str
ing& charset); |
26 ~TextResource() override; | 26 ~TextResource() override; |
27 | 27 |
28 private: | 28 private: |
29 OwnPtr<TextResourceDecoder> m_decoder; | 29 OwnPtr<TextResourceDecoder> m_decoder; |
30 }; | 30 }; |
31 | 31 |
32 } | 32 } // namespace blink |
33 | 33 |
34 #endif // TextResource_h | 34 #endif // TextResource_h |
OLD | NEW |