Index: Source/core/css/CSSVariablesIterator.h |
diff --git a/Source/modules/quota/StorageQuotaCallback.h b/Source/core/css/CSSVariablesIterator.h |
similarity index 73% |
copy from Source/modules/quota/StorageQuotaCallback.h |
copy to Source/core/css/CSSVariablesIterator.h |
index d281f4965552fc182b255a23931913f3b5a3d6b4..edfe3a7e9ed35eab3b31e92f0cdc22d259750eba 100644 |
--- a/Source/modules/quota/StorageQuotaCallback.h |
+++ b/Source/core/css/CSSVariablesIterator.h |
@@ -11,9 +11,6 @@ |
* copyright notice, this list of conditions and the following disclaimer |
* in the documentation and/or other materials provided with the |
* distribution. |
- * * Neither the name of Google Inc. nor the names of its |
- * contributors may be used to endorse or promote products derived from |
- * this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
@@ -28,19 +25,25 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef StorageQuotaCallback_h |
-#define StorageQuotaCallback_h |
+#ifndef CSSVariablesIterator_h |
+#define CSSVariablesIterator_h |
#include "wtf/RefCounted.h" |
namespace WebCore { |
-class StorageQuotaCallback : public RefCounted<StorageQuotaCallback> { |
+class CSSVariablesIterator : public RefCounted<CSSVariablesIterator> { |
public: |
- virtual ~StorageQuotaCallback() { } |
- virtual bool handleEvent(unsigned long long grantedQuotaInBytes) = 0; |
+ virtual ~CSSVariablesIterator() { } |
+ virtual void advance() = 0; |
+ virtual bool atEnd() const = 0; |
+ virtual AtomicString name() const = 0; |
+ virtual String value() const = 0; |
+ virtual void addedVariable(const AtomicString& name) { } |
+ virtual void removedVariable(const AtomicString& name) { } |
+ virtual void clearedVariables() { } |
}; |
-} // namespace |
+} |
-#endif // StorageQuotaCallback_h |
+#endif // CSSVariablesIterator_h |