Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Unified Diff: components/nacl/renderer/file_downloader.h

Issue 307173002: Remove PlatformFile from components/nacl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update NexeFdCallback definition Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/browser/pnacl_host_unittest.cc ('k') | components/nacl/renderer/file_downloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « components/nacl/browser/pnacl_host_unittest.cc ('k') | components/nacl/renderer/file_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698