Index: components/nacl/renderer/file_downloader.h |
diff --git a/components/nacl/renderer/file_downloader.h b/components/nacl/renderer/file_downloader.h |
index a26504390e911f0d0e8dd1818038882278a8ce2e..15568135d068c93709f42584a3e7c416bf305b4e 100644 |
--- a/components/nacl/renderer/file_downloader.h |
+++ b/components/nacl/renderer/file_downloader.h |
@@ -28,14 +28,14 @@ class FileDownloader : public blink::WebURLLoaderClient { |
}; |
// Provides the FileDownloader status and the HTTP status code. |
- typedef base::Callback<void(Status, int)> StatusCallback; |
+ typedef base::Callback<void(Status, base::File, int)> StatusCallback; |
// Provides the bytes received so far, and the total bytes expected to be |
// received. |
typedef base::Callback<void(int64_t, int64_t)> ProgressCallback; |
FileDownloader(scoped_ptr<blink::WebURLLoader> url_loader, |
- base::PlatformFile file, |
+ base::File file, |
StatusCallback status_cb, |
ProgressCallback progress_cb); |
@@ -58,7 +58,7 @@ class FileDownloader : public blink::WebURLLoaderClient { |
const blink::WebURLError& error); |
scoped_ptr<blink::WebURLLoader> url_loader_; |
- base::PlatformFile file_; |
+ base::File file_; |
StatusCallback status_cb_; |
ProgressCallback progress_cb_; |
int http_status_code_; |