| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 const ResourceRequest& originalRequest() const { return m_originalRequest; } | 62 const ResourceRequest& originalRequest() const { return m_originalRequest; } |
| 63 | 63 |
| 64 void setDefersLoading(bool); | 64 void setDefersLoading(bool); |
| 65 bool defersLoading() const { return m_defersLoading; } | 65 bool defersLoading() const { return m_defersLoading; } |
| 66 | 66 |
| 67 void attachThreadedDataReceiver(PassRefPtrWillBeRawPtr<ThreadedDataReceiver>
); | 67 void attachThreadedDataReceiver(PassRefPtrWillBeRawPtr<ThreadedDataReceiver>
); |
| 68 | 68 |
| 69 void releaseResources(); | 69 void releaseResources(); |
| 70 | 70 |
| 71 void didChangePriority(ResourceLoadPriority, int intraPriorityValue); | 71 void didChangePriority(ResourceLoadPriority, int intraPriorityValue); |
| 72 bool shouldUseIncreasedPriorities(); | |
| 73 | 72 |
| 74 // WebURLLoaderClient | 73 // WebURLLoaderClient |
| 75 void willSendRequest(WebURLLoader*, WebURLRequest&, const WebURLResponse& re
directResponse) override; | 74 void willSendRequest(WebURLLoader*, WebURLRequest&, const WebURLResponse& re
directResponse) override; |
| 76 void didSendData(WebURLLoader*, unsigned long long bytesSent, unsigned long
long totalBytesToBeSent) override; | 75 void didSendData(WebURLLoader*, unsigned long long bytesSent, unsigned long
long totalBytesToBeSent) override; |
| 77 void didReceiveResponse(WebURLLoader*, const WebURLResponse&) override; | 76 void didReceiveResponse(WebURLLoader*, const WebURLResponse&) override; |
| 78 void didReceiveResponse(WebURLLoader*, const WebURLResponse&, WebDataConsume
rHandle*) override; | 77 void didReceiveResponse(WebURLLoader*, const WebURLResponse&, WebDataConsume
rHandle*) override; |
| 79 void didReceiveData(WebURLLoader*, const char*, int, int encodedDataLength)
override; | 78 void didReceiveData(WebURLLoader*, const char*, int, int encodedDataLength)
override; |
| 80 void didReceiveCachedMetadata(WebURLLoader*, const char* data, int length) o
verride; | 79 void didReceiveCachedMetadata(WebURLLoader*, const char* data, int length) o
verride; |
| 81 void didFinishLoading(WebURLLoader*, double finishTime, int64_t encodedDataL
ength) override; | 80 void didFinishLoading(WebURLLoader*, double finishTime, int64_t encodedDataL
ength) override; |
| 82 void didFail(WebURLLoader*, const WebURLError&) override; | 81 void didFail(WebURLLoader*, const WebURLError&) override; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 ResourceLoaderState m_state; | 134 ResourceLoaderState m_state; |
| 136 | 135 |
| 137 // Used for sanity checking to make sure we don't experience illegal state | 136 // Used for sanity checking to make sure we don't experience illegal state |
| 138 // transitions. | 137 // transitions. |
| 139 ConnectionState m_connectionState; | 138 ConnectionState m_connectionState; |
| 140 }; | 139 }; |
| 141 | 140 |
| 142 } | 141 } |
| 143 | 142 |
| 144 #endif | 143 #endif |
| OLD | NEW |