Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: Source/core/fileapi/FileReaderSync.h

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/MessageEvent.cpp ('k') | Source/core/fileapi/FileReaderSync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/FileReaderSync.h
diff --git a/Source/core/fileapi/FileReaderSync.h b/Source/core/fileapi/FileReaderSync.h
index 39b72fb69d2d1c97d85a397b7984e0a70efe8b17..7ab287ec54edb3fb634fb6a49f2b0d615dd260f5 100644
--- a/Source/core/fileapi/FileReaderSync.h
+++ b/Source/core/fileapi/FileReaderSync.h
@@ -33,16 +33,16 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
-#include "wtf/Forward.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace blink {
class Blob;
+class DOMArrayBuffer;
class ExceptionState;
-class FileReaderLoader;
class ExecutionContext;
+class FileReaderLoader;
class FileReaderSync final : public GarbageCollected<FileReaderSync>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -52,7 +52,7 @@ public:
return new FileReaderSync();
}
- PassRefPtr<ArrayBuffer> readAsArrayBuffer(ExecutionContext*, Blob*, ExceptionState&);
+ PassRefPtr<DOMArrayBuffer> readAsArrayBuffer(ExecutionContext*, Blob*, ExceptionState&);
String readAsBinaryString(ExecutionContext*, Blob*, ExceptionState&);
String readAsText(ExecutionContext* executionContext, Blob* blob, ExceptionState& ec)
{
« no previous file with comments | « Source/core/events/MessageEvent.cpp ('k') | Source/core/fileapi/FileReaderSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698