Enable Pointer Events on watchOS
[WebKit-https.git] / Source / WebCore / storage / StorageNamespaceProvider.h
index 8d350e6..dd7f9a4 100644 (file)
@@ -44,8 +44,10 @@ public:
     WEBCORE_EXPORT StorageNamespaceProvider();
     WEBCORE_EXPORT virtual ~StorageNamespaceProvider();
 
-    virtual RefPtr<StorageNamespace> createSessionStorageNamespace(Page&, unsigned quota) = 0;
-    RefPtr<StorageArea> localStorageArea(Document&);
+    virtual Ref<StorageNamespace> createSessionStorageNamespace(Page&, unsigned quota) = 0;
+    virtual Ref<StorageNamespace> createEphemeralLocalStorageNamespace(Page&, unsigned quota) = 0;
+
+    Ref<StorageArea> localStorageArea(Document&);
 
     void addPage(Page&);
     void removePage(Page&);
@@ -57,8 +59,8 @@ private:
     StorageNamespace& localStorageNamespace();
     StorageNamespace& transientLocalStorageNamespace(SecurityOrigin&);
 
-    virtual RefPtr<StorageNamespace> createLocalStorageNamespace(unsigned quota) = 0;
-    virtual RefPtr<StorageNamespace> createTransientLocalStorageNamespace(SecurityOrigin&, unsigned quota) = 0;
+    virtual Ref<StorageNamespace> createLocalStorageNamespace(unsigned quota) = 0;
+    virtual Ref<StorageNamespace> createTransientLocalStorageNamespace(SecurityOrigin&, unsigned quota) = 0;
 
     HashSet<Page*> m_pages;