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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.h

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Bearings Before Woods Created 9 years, 6 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
Index: content/browser/renderer_host/resource_dispatcher_host.h
diff --git a/content/browser/renderer_host/resource_dispatcher_host.h b/content/browser/renderer_host/resource_dispatcher_host.h
index ee476d09a7af150bee15d3aae7423658cf38b343..f16e3d1e1b7713e81f12e30a43b099e99e8fe710 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.h
+++ b/content/browser/renderer_host/resource_dispatcher_host.h
@@ -21,6 +21,7 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/timer.h"
+#include "chrome/browser/renderer_host/download_resource_handler.h"
#include "content/browser/renderer_host/resource_queue.h"
#include "content/common/child_process_info.h"
#include "content/common/notification_type.h"
@@ -29,6 +30,7 @@
#include "webkit/glue/resource_type.h"
class CrossSiteResourceHandler;
+class DictionaryValue;
class DownloadFileManager;
class DownloadRequestLimiter;
class LoginHandler;
@@ -81,6 +83,13 @@ class ResourceDispatcherHost : public net::URLRequest::Delegate {
const GURL& referrer,
const DownloadSaveInfo& save_info,
bool prompt_for_save_location,
+ std::string method,
+ DictionaryValue* extra_headers,
+ std::string post_body,
+ DownloadResourceHandler::OnResponseStartedCallback
+ started_cb,
+ DownloadResourceHandler::OnUnstartableCallback
+ unstartable_cb,
int process_unique_id,
int route_id,
const content::ResourceContext& context);

Powered by Google App Engine
This is Rietveld 408576698