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

Unified Diff: Source/core/xml/XMLHttpRequest.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/testing/Internals.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index ac19d1d9c86812a3a5fbcb20da8bba5225273899..973d17a9f7fe87e1ef27b48f8cef86ef71efd7ad 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -34,6 +34,7 @@
#include "platform/network/FormData.h"
#include "platform/network/ResourceResponse.h"
#include "platform/weborigin/SecurityOrigin.h"
+#include "wtf/Forward.h"
#include "wtf/OwnPtr.h"
#include "wtf/text/AtomicStringHash.h"
#include "wtf/text/StringBuilder.h"
@@ -42,6 +43,7 @@ namespace blink {
class Blob;
class BlobDataHandle;
+class DOMArrayBuffer;
class DOMFormData;
class Document;
class DocumentParser;
@@ -143,7 +145,7 @@ public:
String responseURL();
// response attribute has custom getter.
- ArrayBuffer* responseArrayBuffer();
+ DOMArrayBuffer* responseArrayBuffer();
void setLastSendLineNumber(unsigned lineNumber) { m_lastSendLineNumber = lineNumber; }
void setLastSendURL(const String& url) { m_lastSendURL = url; }
@@ -255,7 +257,7 @@ private:
unsigned long m_timeoutMilliseconds;
PersistentWillBeMember<Blob> m_responseBlob;
RefPtrWillBeMember<Stream> m_responseLegacyStream;
- PersistentWillBeMember<ReadableStreamImpl<ReadableStreamChunkTypeTraits<ArrayBuffer> > > m_responseStream;
+ PersistentWillBeMember<ReadableStreamImpl<ReadableStreamChunkTypeTraits<DOMArrayBuffer> > > m_responseStream;
PersistentWillBeMember<UnderlyingSource> m_streamSource;
RefPtr<ThreadableLoader> m_loader;
@@ -274,7 +276,7 @@ private:
RefPtr<SharedBuffer> m_binaryResponseBuilder;
long long m_lengthDownloadedToFile;
- RefPtr<ArrayBuffer> m_responseArrayBuffer;
+ RefPtr<DOMArrayBuffer> m_responseArrayBuffer;
// Used for onprogress tracking
long long m_receivedLength;
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698