| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void cancelIfNotFinishing(); | 57 void cancelIfNotFinishing(); |
| 58 | 58 |
| 59 Resource* cachedResource() { return m_resource; } | 59 Resource* cachedResource() { return m_resource; } |
| 60 const ResourceRequest& originalRequest() const { return m_originalRequest; } | 60 const ResourceRequest& originalRequest() const { return m_originalRequest; } |
| 61 | 61 |
| 62 void setDefersLoading(bool); | 62 void setDefersLoading(bool); |
| 63 bool defersLoading() const { return m_defersLoading; } | 63 bool defersLoading() const { return m_defersLoading; } |
| 64 | 64 |
| 65 void releaseResources(); | 65 void releaseResources(); |
| 66 | 66 |
| 67 void didChangePriority(ResourceLoadPriority); | 67 void didChangePriority(ResourceLoadPriority, int intraPriorityValue); |
| 68 | 68 |
| 69 // WebURLLoaderClient | 69 // WebURLLoaderClient |
| 70 virtual void willSendRequest(blink::WebURLLoader*, blink::WebURLRequest&, co
nst blink::WebURLResponse& redirectResponse) OVERRIDE; | 70 virtual void willSendRequest(blink::WebURLLoader*, blink::WebURLRequest&, co
nst blink::WebURLResponse& redirectResponse) OVERRIDE; |
| 71 virtual void didSendData(blink::WebURLLoader*, unsigned long long bytesSent,
unsigned long long totalBytesToBeSent) OVERRIDE; | 71 virtual void didSendData(blink::WebURLLoader*, unsigned long long bytesSent,
unsigned long long totalBytesToBeSent) OVERRIDE; |
| 72 virtual void didReceiveResponse(blink::WebURLLoader*, const blink::WebURLRes
ponse&) OVERRIDE; | 72 virtual void didReceiveResponse(blink::WebURLLoader*, const blink::WebURLRes
ponse&) OVERRIDE; |
| 73 virtual void didReceiveData(blink::WebURLLoader*, const char*, int, int enco
dedDataLength) OVERRIDE; | 73 virtual void didReceiveData(blink::WebURLLoader*, const char*, int, int enco
dedDataLength) OVERRIDE; |
| 74 virtual void didReceiveCachedMetadata(blink::WebURLLoader*, const char* data
, int length) OVERRIDE; | 74 virtual void didReceiveCachedMetadata(blink::WebURLLoader*, const char* data
, int length) OVERRIDE; |
| 75 virtual void didFinishLoading(blink::WebURLLoader*, double finishTime) OVERR
IDE; | 75 virtual void didFinishLoading(blink::WebURLLoader*, double finishTime) OVERR
IDE; |
| 76 virtual void didFail(blink::WebURLLoader*, const blink::WebURLError&) OVERRI
DE; | 76 virtual void didFail(blink::WebURLLoader*, const blink::WebURLError&) OVERRI
DE; |
| 77 virtual void didDownloadData(blink::WebURLLoader*, int, int) OVERRIDE; | 77 virtual void didDownloadData(blink::WebURLLoader*, int, int) OVERRIDE; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // 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 |
| 137 // transitions. | 137 // transitions. |
| 138 ConnectionState m_connectionState; | 138 ConnectionState m_connectionState; |
| 139 | 139 |
| 140 OwnPtr<RequestCountTracker> m_requestCountTracker; | 140 OwnPtr<RequestCountTracker> m_requestCountTracker; |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } | 143 } |
| 144 | 144 |
| 145 #endif | 145 #endif |
| OLD | NEW |