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

Unified Diff: Source/core/fetch/CSSStyleSheetResource.h

Issue 134443002: Update fetch / loader classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No OVERRIDE / FINAL in web Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/fetch/DocumentResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/CSSStyleSheetResource.h
diff --git a/Source/core/fetch/CSSStyleSheetResource.h b/Source/core/fetch/CSSStyleSheetResource.h
index 4ca19857c87211a110c40a3b1dd4647d69550b3c..83aabcd22871e5064279dcdfd8a4ec5411234099 100644
--- a/Source/core/fetch/CSSStyleSheetResource.h
+++ b/Source/core/fetch/CSSStyleSheetResource.h
@@ -36,16 +36,16 @@ class ResourceClient;
class StyleSheetContents;
class TextResourceDecoder;
-class CSSStyleSheetResource : public StyleSheetResource {
+class CSSStyleSheetResource FINAL : public StyleSheetResource {
public:
CSSStyleSheetResource(const ResourceRequest&, const String& charset);
virtual ~CSSStyleSheetResource();
const String sheetText(bool enforceMIMEType = true, bool* hasValidMIMEType = 0) const;
- virtual void didAddClient(ResourceClient*);
- virtual void setEncoding(const String&);
- virtual String encoding() const;
+ virtual void didAddClient(ResourceClient*) OVERRIDE;
+ virtual void setEncoding(const String&) OVERRIDE;
+ virtual String encoding() const OVERRIDE;
virtual void destroyDecodedData() OVERRIDE;
PassRefPtr<StyleSheetContents> restoreParsedStyleSheet(const CSSParserContext&);
@@ -53,9 +53,7 @@ public:
private:
bool canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const;
-
-protected:
- virtual void checkNotify();
+ virtual void checkNotify() OVERRIDE;
OwnPtr<TextResourceDecoder> m_decoder;
String m_decodedSheetText;
« no previous file with comments | « no previous file | Source/core/fetch/DocumentResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698