Index: Source/WebCore/loader/ThreadableLoader.h |
=================================================================== |
--- Source/WebCore/loader/ThreadableLoader.h (revision 86689) |
+++ Source/WebCore/loader/ThreadableLoader.h (working copy) |
@@ -55,12 +55,13 @@ |
}; |
struct ThreadableLoaderOptions { |
- ThreadableLoaderOptions() : sendLoadCallbacks(false), sniffContent(false), allowCredentials(false), forcePreflight(false), crossOriginRequestPolicy(DenyCrossOriginRequests) { } |
+ ThreadableLoaderOptions() : sendLoadCallbacks(false), sniffContent(false), allowCredentials(false), forcePreflight(false), crossOriginRequestPolicy(DenyCrossOriginRequests), shouldBufferData(true) { } |
bool sendLoadCallbacks; |
bool sniffContent; |
bool allowCredentials; // Whether HTTP credentials and cookies are sent with the request. |
bool forcePreflight; // If AccessControl is used, whether to force a preflight. |
CrossOriginRequestPolicy crossOriginRequestPolicy; |
+ bool shouldBufferData; |
}; |
// Useful for doing loader operations from any thread (not threadsafe, |