| Index: Source/core/xml/XMLHttpRequest.h
|
| diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
|
| index a4316f1cdbe2d7954f81735a88fbb02f9bc5c82a..6257b546c58fda5c9e9bc3bf64e25bd781f8639e 100644
|
| --- a/Source/core/xml/XMLHttpRequest.h
|
| +++ b/Source/core/xml/XMLHttpRequest.h
|
| @@ -74,6 +74,11 @@ public:
|
| ResponseTypeArrayBuffer
|
| };
|
|
|
| + enum DropProtection {
|
| + DropProtectionSync,
|
| + DropProtectionAsync,
|
| + };
|
| +
|
| virtual void contextDestroyed();
|
| virtual void didTimeout();
|
| virtual bool canSuspend() const;
|
| @@ -176,7 +181,7 @@ private:
|
| void callReadyStateChangeListener();
|
| void dropProtectionSoon();
|
| void dropProtection(Timer<XMLHttpRequest>* = 0);
|
| - void internalAbort();
|
| + void internalAbort(DropProtection = DropProtectionSync);
|
| void clearResponse();
|
| void clearResponseBuffers();
|
| void clearRequest();
|
|
|