diff options
author | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 15:11:22 +0000 |
---|---|---|
committer | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 15:11:22 +0000 |
commit | a4feef8f23c9aed533bcd8b35e594fe3cf300a23 (patch) | |
tree | 9ce681a0ae7b0a30d00b54cb8bccc3a3ad7562c6 /chrome/browser/download/save_file.h | |
parent | 5f945e0f45394453602083b22206acb4cde3db4f (diff) | |
download | chromium_src-a4feef8f23c9aed533bcd8b35e594fe3cf300a23.zip chromium_src-a4feef8f23c9aed533bcd8b35e594fe3cf300a23.tar.gz chromium_src-a4feef8f23c9aed533bcd8b35e594fe3cf300a23.tar.bz2 |
Port some more of chrome/ to Linux.
Original review: http://codereview.chromium.org/4247
Patch from Pawel Hajdan Jr.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/save_file.h')
-rw-r--r-- | chrome/browser/download/save_file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/save_file.h b/chrome/browser/download/save_file.h index 3d5e06c..361e20c 100644 --- a/chrome/browser/download/save_file.h +++ b/chrome/browser/download/save_file.h @@ -24,7 +24,7 @@ class SaveFile { ~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 @@ class SaveFile { // 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_; |