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

Side by Side Diff: Source/web/StorageNamespaceProxy.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/StorageAreaProxy.h ('k') | Source/web/UserMediaClientImpl.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All Rights Reserved. 2 * Copyright (C) 2009 Google Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "core/storage/StorageArea.h" 29 #include "core/storage/StorageArea.h"
30 #include "core/storage/StorageNamespace.h" 30 #include "core/storage/StorageNamespace.h"
31 31
32 namespace blink { class WebStorageNamespace; } 32 namespace blink { class WebStorageNamespace; }
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 // Instances of StorageNamespaceProxy are only used to interact with 36 // Instances of StorageNamespaceProxy are only used to interact with
37 // SessionStorage, never LocalStorage. 37 // SessionStorage, never LocalStorage.
38 class StorageNamespaceProxy : public StorageNamespace { 38 class StorageNamespaceProxy FINAL : public StorageNamespace {
39 public: 39 public:
40 explicit StorageNamespaceProxy(PassOwnPtr<blink::WebStorageNamespace>); 40 explicit StorageNamespaceProxy(PassOwnPtr<blink::WebStorageNamespace>);
41 virtual ~StorageNamespaceProxy(); 41 virtual ~StorageNamespaceProxy();
42 virtual PassOwnPtr<StorageArea> storageArea(SecurityOrigin*); 42 virtual PassOwnPtr<StorageArea> storageArea(SecurityOrigin*) OVERRIDE;
43 43
44 bool isSameNamespace(const blink::WebStorageNamespace&); 44 bool isSameNamespace(const blink::WebStorageNamespace&);
45 45
46 private: 46 private:
47 OwnPtr<blink::WebStorageNamespace> m_storageNamespace; 47 OwnPtr<blink::WebStorageNamespace> m_storageNamespace;
48 }; 48 };
49 49
50 } // namespace WebCore 50 } // namespace WebCore
51 51
52 #endif // StorageNamespaceProxy_h 52 #endif // StorageNamespaceProxy_h
OLDNEW
« no previous file with comments | « Source/web/StorageAreaProxy.h ('k') | Source/web/UserMediaClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698