summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/quota/NavigatorStorageQuota.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/quota/NavigatorStorageQuota.h')
-rw-r--r--Source/WebCore/Modules/quota/NavigatorStorageQuota.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebCore/Modules/quota/NavigatorStorageQuota.h b/Source/WebCore/Modules/quota/NavigatorStorageQuota.h
index 9c1d9ef26..8eb5d423a 100644
--- a/Source/WebCore/Modules/quota/NavigatorStorageQuota.h
+++ b/Source/WebCore/Modules/quota/NavigatorStorageQuota.h
@@ -28,8 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NavigatorStorageQuota_h
-#define NavigatorStorageQuota_h
+#pragma once
#if ENABLE(QUOTA)
@@ -44,6 +43,7 @@ class Navigator;
class NavigatorStorageQuota : public Supplement<Navigator>, public DOMWindowProperty {
public:
+ explicit NavigatorStorageQuota(Frame*);
virtual ~NavigatorStorageQuota();
static NavigatorStorageQuota* from(Navigator*);
@@ -53,7 +53,6 @@ public:
StorageQuota* webkitPersistentStorage() const;
private:
- explicit NavigatorStorageQuota(Frame*);
static const char* supplementName();
mutable RefPtr<StorageQuota> m_temporaryStorage;
@@ -63,5 +62,3 @@ private:
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // NavigatorStorageQuota_h