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

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

Issue 351029: Support dragging a virtual file out of the browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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/history/download_types.h ('k') | chrome/browser/renderer_host/download_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/download_resource_handler.h
===================================================================
--- chrome/browser/renderer_host/download_resource_handler.h (revision 35459)
+++ chrome/browser/renderer_host/download_resource_handler.h (working copy)
@@ -7,6 +7,7 @@
#include <string>
+#include "base/file_path.h"
#include "base/timer.h"
#include "chrome/browser/renderer_host/global_request_id.h"
#include "chrome/browser/renderer_host/resource_handler.h"
@@ -26,7 +27,8 @@
const GURL& url,
DownloadFileManager* manager,
URLRequest* request,
- bool save_as);
+ bool save_as,
+ const FilePath& save_file_path);
// Not needed, as this event handler ought to be the final resource.
bool OnRequestRedirected(int request_id, const GURL& url,
@@ -70,6 +72,7 @@
DownloadFileManager* download_manager_;
URLRequest* request_;
bool save_as_; // Request was initiated via "Save As" by the user.
+ FilePath save_file_path_;
DownloadBuffer* buffer_;
ResourceDispatcherHost* rdh_;
bool is_paused_;
« no previous file with comments | « chrome/browser/history/download_types.h ('k') | chrome/browser/renderer_host/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698