OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 20 matching lines...) Expand all Loading... |
31 */ | 31 */ |
32 | 32 |
33 #ifndef DOMWindowBase64_h | 33 #ifndef DOMWindowBase64_h |
34 #define DOMWindowBase64_h | 34 #define DOMWindowBase64_h |
35 | 35 |
36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace WebCore { |
39 | 39 |
40 class ExceptionState; | 40 class ExceptionState; |
| 41 class ScriptWrappable; |
41 | 42 |
42 namespace DOMWindowBase64 { | 43 namespace DOMWindowBase64 { |
43 String btoa(void*, const String& stringToEncode, ExceptionState&); | 44 String btoa(ScriptWrappable&, const String& stringToEncode, ExceptionState&); |
44 String atob(void*, const String& encodedString, ExceptionState&); | 45 String atob(ScriptWrappable&, const String& encodedString, ExceptionState&); |
45 } | 46 } |
46 | 47 |
47 } // namespace WebCore | 48 } // namespace WebCore |
48 | 49 |
49 #endif // DOMWindowBase64_h | 50 #endif // DOMWindowBase64_h |
OLD | NEW |