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

Side by Side Diff: Source/core/fetch/TextResource.h

Issue 631223002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[fetch|fileapi] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/fetch/StyleSheetResourceClient.h ('k') | Source/core/fetch/XSLStyleSheetResource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/fetch/ResourcePtr.h" 8 #include "core/fetch/ResourcePtr.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class TextResourceDecoder; 12 class TextResourceDecoder;
13 13
14 class TextResource : public Resource { 14 class TextResource : public Resource {
15 public: 15 public:
16 // Returns the decoded data in text form. The data has to be available at 16 // Returns the decoded data in text form. The data has to be available at
17 // call time. 17 // call time.
18 String decodedText() const; 18 String decodedText() const;
19 19
20 virtual void setEncoding(const String&) OVERRIDE; 20 virtual void setEncoding(const String&) override;
21 virtual String encoding() const OVERRIDE; 21 virtual String encoding() const override;
22 22
23 protected: 23 protected:
24 TextResource(const ResourceRequest&, Type, const String& mimeType, const Str ing& charset); 24 TextResource(const ResourceRequest&, Type, const String& mimeType, const Str ing& charset);
25 virtual ~TextResource(); 25 virtual ~TextResource();
26 26
27 private: 27 private:
28 OwnPtr<TextResourceDecoder> m_decoder; 28 OwnPtr<TextResourceDecoder> m_decoder;
29 }; 29 };
30 30
31 } 31 }
32 32
33 #endif // TextResource_h 33 #endif // TextResource_h
OLDNEW
« no previous file with comments | « Source/core/fetch/StyleSheetResourceClient.h ('k') | Source/core/fetch/XSLStyleSheetResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698