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

Unified Diff: chrome/browser/download/save_file.h

Issue 4247: Port some things in browser/{download,history}, minor things in common.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « chrome/browser/download/download_util.h ('k') | chrome/browser/download/save_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/download/download_util.h ('k') | chrome/browser/download/save_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698