| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 void WorkerThreadableLoader::MainThreadBridge::clearClientWrapper() | 205 void WorkerThreadableLoader::MainThreadBridge::clearClientWrapper() |
| 206 { | 206 { |
| 207 m_workerClientWrapper->clearClient(); | 207 m_workerClientWrapper->clearClient(); |
| 208 } | 208 } |
| 209 | 209 |
| 210 void WorkerThreadableLoader::MainThreadBridge::didSendData(unsigned long long by
tesSent, unsigned long long totalBytesToBeSent) | 210 void WorkerThreadableLoader::MainThreadBridge::didSendData(unsigned long long by
tesSent, unsigned long long totalBytesToBeSent) |
| 211 { | 211 { |
| 212 m_clientBridge->didSendData(bytesSent, totalBytesToBeSent); | 212 m_clientBridge->didSendData(bytesSent, totalBytesToBeSent); |
| 213 } | 213 } |
| 214 | 214 |
| 215 void WorkerThreadableLoader::MainThreadBridge::didReceiveResponse(unsigned long
identifier, const ResourceResponse& response) | 215 void WorkerThreadableLoader::MainThreadBridge::didReceiveResponse(unsigned long
identifier, const ResourceResponse& response, PassOwnPtr<WebDataConsumerHandle>
handle) |
| 216 { | 216 { |
| 217 m_clientBridge->didReceiveResponse(identifier, response); | 217 m_clientBridge->didReceiveResponse(identifier, response, handle); |
| 218 } | 218 } |
| 219 | 219 |
| 220 void WorkerThreadableLoader::MainThreadBridge::didReceiveData(const char* data,
unsigned dataLength) | 220 void WorkerThreadableLoader::MainThreadBridge::didReceiveData(const char* data,
unsigned dataLength) |
| 221 { | 221 { |
| 222 m_clientBridge->didReceiveData(data, dataLength); | 222 m_clientBridge->didReceiveData(data, dataLength); |
| 223 } | 223 } |
| 224 | 224 |
| 225 void WorkerThreadableLoader::MainThreadBridge::didDownloadData(int dataLength) | 225 void WorkerThreadableLoader::MainThreadBridge::didDownloadData(int dataLength) |
| 226 { | 226 { |
| 227 m_clientBridge->didDownloadData(dataLength); | 227 m_clientBridge->didDownloadData(dataLength); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 246 { | 246 { |
| 247 m_clientBridge->didFailAccessControlCheck(error); | 247 m_clientBridge->didFailAccessControlCheck(error); |
| 248 } | 248 } |
| 249 | 249 |
| 250 void WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck() | 250 void WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck() |
| 251 { | 251 { |
| 252 m_clientBridge->didFailRedirectCheck(); | 252 m_clientBridge->didFailRedirectCheck(); |
| 253 } | 253 } |
| 254 | 254 |
| 255 } // namespace blink | 255 } // namespace blink |
| OLD | NEW |