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

Unified Diff: chrome/browser/renderer_host/resource_message_filter.h

Issue 594036: Support sending a sliced file in chromium.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/chrome_plugin_host.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_message_filter.h
===================================================================
--- chrome/browser/renderer_host/resource_message_filter.h (revision 42417)
+++ chrome/browser/renderer_host/resource_message_filter.h (working copy)
@@ -48,6 +48,10 @@
struct ViewHostMsg_CreateWorker_Params;
struct WebPluginInfo;
+namespace file_util {
+struct FileInfo;
+}
+
namespace printing {
class PrinterQuery;
class PrintJobManager;
@@ -122,6 +126,8 @@
private:
friend class ChromeThread;
friend class DeleteTask<ResourceMessageFilter>;
+ typedef void (*FileInfoWriteFunc)(IPC::Message* reply_msg,
+ const file_util::FileInfo& file_info);
virtual ~ResourceMessageFilter();
@@ -306,7 +312,10 @@
void OnSetCacheMode(bool enabled);
void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg);
- void OnGetFileSizeOnFileThread(const FilePath& path, IPC::Message* reply_msg);
+ void OnGetFileModificationTime(const FilePath& path, IPC::Message* reply_msg);
+ void OnGetFileInfoOnFileThread(const FilePath& path,
+ IPC::Message* reply_msg,
+ FileInfoWriteFunc write_func);
void OnKeygen(uint32 key_size_index, const std::string& challenge_string,
const GURL& url, std::string* signed_public_key);
void OnGetExtensionMessageBundle(const std::string& extension_id,
« no previous file with comments | « chrome/browser/chrome_plugin_host.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698