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

Unified Diff: Source/web/StorageAreaProxy.h

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 | « Source/web/SpellCheckerClientImpl.h ('k') | Source/web/StorageNamespaceProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/StorageAreaProxy.h
diff --git a/Source/web/StorageAreaProxy.h b/Source/web/StorageAreaProxy.h
index ba4ec45bfee6bb1be050d15cf6123551cfc71b9a..0e1bf605ce74595b2c9dae21786aaafffbea8601 100644
--- a/Source/web/StorageAreaProxy.h
+++ b/Source/web/StorageAreaProxy.h
@@ -42,23 +42,23 @@ class Page;
class SecurityOrigin;
class Storage;
-class StorageAreaProxy : public StorageArea {
+class StorageAreaProxy FINAL : public StorageArea {
public:
StorageAreaProxy(PassOwnPtr<blink::WebStorageArea>, StorageType);
virtual ~StorageAreaProxy();
// The HTML5 DOM Storage API
- virtual unsigned length(ExceptionState&, Frame* sourceFrame);
- virtual String key(unsigned index, ExceptionState&, Frame* sourceFrame);
- virtual String getItem(const String& key, ExceptionState&, Frame* sourceFrame);
- virtual void setItem(const String& key, const String& value, ExceptionState&, Frame* sourceFrame);
- virtual void removeItem(const String& key, ExceptionState&, Frame* sourceFrame);
- virtual void clear(ExceptionState&, Frame* sourceFrame);
- virtual bool contains(const String& key, ExceptionState&, Frame* sourceFrame);
+ virtual unsigned length(ExceptionState&, Frame* sourceFrame) OVERRIDE;
+ virtual String key(unsigned index, ExceptionState&, Frame* sourceFrame) OVERRIDE;
+ virtual String getItem(const String& key, ExceptionState&, Frame* sourceFrame) OVERRIDE;
+ virtual void setItem(const String& key, const String& value, ExceptionState&, Frame* sourceFrame) OVERRIDE;
+ virtual void removeItem(const String& key, ExceptionState&, Frame* sourceFrame) OVERRIDE;
+ virtual void clear(ExceptionState&, Frame* sourceFrame) OVERRIDE;
+ virtual bool contains(const String& key, ExceptionState&, Frame* sourceFrame) OVERRIDE;
- virtual bool canAccessStorage(Frame*);
+ virtual bool canAccessStorage(Frame*) OVERRIDE;
- virtual size_t memoryBytesUsedByCache();
+ virtual size_t memoryBytesUsedByCache() OVERRIDE;
static void dispatchLocalStorageEvent(
const String& key, const String& oldValue, const String& newValue,
« no previous file with comments | « Source/web/SpellCheckerClientImpl.h ('k') | Source/web/StorageNamespaceProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698