From a4feef8f23c9aed533bcd8b35e594fe3cf300a23 Mon Sep 17 00:00:00 2001 From: "deanm@google.com" Date: Thu, 2 Oct 2008 15:11:22 +0000 Subject: 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 --- chrome/browser/download/save_file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/download/save_file.h') 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 info_; -- cgit v1.1