| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2005, 2006 Michael Emmel mike.emmel@gmail.com | 3 * Copyright (C) 2005, 2006 Michael Emmel mike.emmel@gmail.com |
| 4 * All rights reserved. | 4 * All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 CURLcode error = curl_easy_pause(d->m_handle, CURLPAUSE_CONT); | 159 CURLcode error = curl_easy_pause(d->m_handle, CURLPAUSE_CONT); |
| 160 if (error != CURLE_OK) | 160 if (error != CURLE_OK) |
| 161 // Restarting the handle has failed so just cancel it. | 161 // Restarting the handle has failed so just cancel it. |
| 162 cancel(); | 162 cancel(); |
| 163 } | 163 } |
| 164 #else | 164 #else |
| 165 LOG_ERROR("Deferred loading is implemented if libcURL version is above 7.18.
0"); | 165 LOG_ERROR("Deferred loading is implemented if libcURL version is above 7.18.
0"); |
| 166 #endif | 166 #endif |
| 167 } | 167 } |
| 168 | 168 |
| 169 bool ResourceHandle::willLoadFromCache(ResourceRequest&, Frame*) |
| 170 { |
| 171 notImplemented(); |
| 172 return false; |
| 173 } |
| 174 |
| 169 bool ResourceHandle::loadsBlocked() | 175 bool ResourceHandle::loadsBlocked() |
| 170 { | 176 { |
| 171 notImplemented(); | 177 notImplemented(); |
| 172 return false; | 178 return false; |
| 173 } | 179 } |
| 174 | 180 |
| 175 void ResourceHandle::loadResourceSynchronously(NetworkingContext*, const Resourc
eRequest& request, StoredCredentials storedCredentials, ResourceError& error, Re
sourceResponse& response, Vector<char>& data) | 181 void ResourceHandle::loadResourceSynchronously(NetworkingContext*, const Resourc
eRequest& request, StoredCredentials storedCredentials, ResourceError& error, Re
sourceResponse& response, Vector<char>& data) |
| 176 { | 182 { |
| 177 WebCoreSynchronousLoader syncLoader; | 183 WebCoreSynchronousLoader syncLoader; |
| 178 RefPtr<ResourceHandle> handle = adoptRef(new ResourceHandle(request, &syncLo
ader, true, false)); | 184 RefPtr<ResourceHandle> handle = adoptRef(new ResourceHandle(request, &syncLo
ader, true, false)); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 201 { | 207 { |
| 202 notImplemented(); | 208 notImplemented(); |
| 203 } | 209 } |
| 204 | 210 |
| 205 void ResourceHandle::receivedCancellation(const AuthenticationChallenge&) | 211 void ResourceHandle::receivedCancellation(const AuthenticationChallenge&) |
| 206 { | 212 { |
| 207 notImplemented(); | 213 notImplemented(); |
| 208 } | 214 } |
| 209 | 215 |
| 210 } // namespace WebCore | 216 } // namespace WebCore |
| OLD | NEW |