diff options
Diffstat (limited to 'Source/WebCore/loader/ThreadableLoader.h')
-rw-r--r-- | Source/WebCore/loader/ThreadableLoader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/loader/ThreadableLoader.h b/Source/WebCore/loader/ThreadableLoader.h index f574c94..b01f3ee 100644 --- a/Source/WebCore/loader/ThreadableLoader.h +++ b/Source/WebCore/loader/ThreadableLoader.h @@ -55,12 +55,13 @@ namespace WebCore { }; 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, |