Index: chrome/browser/download/save_file.h |
=================================================================== |
--- chrome/browser/download/save_file.h (revision 2786) |
+++ chrome/browser/download/save_file.h (working copy) |
@@ -24,7 +24,7 @@ |
~SaveFile(); |
// Write a new chunk of data to the file. Returns true on success. |
- bool AppendDataToFile(const char* data, int data_len); |
+ bool AppendDataToFile(const char* data, size_t data_len); |
// Abort the saving job and automatically close the file. |
void Cancel(); |
@@ -53,7 +53,7 @@ |
// based on creation information passed to it, and automatically closed in |
// the destructor. |
void Close(); |
- bool Open(const wchar_t* open_mode); |
+ bool Open(const char* open_mode); |
scoped_ptr<const SaveFileCreateInfo> info_; |