Index: Source/core/page/DOMWindowTimers.h |
diff --git a/Source/core/page/DOMWindowBase64.h b/Source/core/page/DOMWindowTimers.h |
similarity index 80% |
copy from Source/core/page/DOMWindowBase64.h |
copy to Source/core/page/DOMWindowTimers.h |
index 50b79721cfb415ea811843e4b097275b293d6ad7..2a28f81810c751f9331f6f421d0c0d57a87b7813 100644 |
--- a/Source/core/page/DOMWindowBase64.h |
+++ b/Source/core/page/DOMWindowTimers.h |
@@ -30,19 +30,23 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef DOMWindowBase64_h |
-#define DOMWindowBase64_h |
+#ifndef DOMWindowTimers_h |
+#define DOMWindowTimers_h |
-#include "core/dom/ExceptionCode.h" |
-#include "wtf/text/WTFString.h" |
+#include "wtf/Forward.h" |
namespace WebCore { |
-namespace DOMWindowBase64 { |
-String btoa(void*, const String& stringToEncode, ExceptionCode&); |
-String atob(void*, const String& encodedString, ExceptionCode&); |
+class EventTarget; |
+class ScheduledAction; |
+ |
+namespace DOMWindowTimers { |
+int setTimeout(EventTarget*, PassOwnPtr<ScheduledAction>, int timeout); |
+int setInterval(EventTarget*, PassOwnPtr<ScheduledAction>, int timeout); |
+void clearTimeout(EventTarget*, int timeoutId); |
+void clearInterval(EventTarget*, int timeoutId); |
} |
} // namespace WebCore |
-#endif // DOMWindowBase64_h |
+#endif // DOMWindowTimers_h |