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

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

Issue 18390: Change URLRequest to use a ref-counted buffer for actual IO.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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_file.cc ('k') | chrome/browser/download/save_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/save_file_manager.h
===================================================================
--- chrome/browser/download/save_file_manager.h (revision 8565)
+++ chrome/browser/download/save_file_manager.h (working copy)
@@ -66,6 +66,9 @@
#include "base/thread.h"
#include "chrome/browser/download/save_types.h"
+namespace net {
+class IOBuffer;
+}
class GURL;
class SaveFile;
class SavePackage;
@@ -101,7 +104,7 @@
// Notifications sent from the IO thread and run on the file thread:
void StartSave(SaveFileCreateInfo* info);
- void UpdateSaveProgress(int save_id, char* data, int size);
+ void UpdateSaveProgress(int save_id, net::IOBuffer* data, int size);
void SaveFinished(int save_id, std::wstring save_url,
int render_process_id, bool is_success);
« no previous file with comments | « chrome/browser/download/download_file.cc ('k') | chrome/browser/download/save_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698