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

Unified Diff: content/browser/download/download_resource_handler.h

Issue 7793003: Revert 98656 - Make a new integer field in sql::MetaTable (a per-profile db) containing a counter... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « content/browser/download/download_manager.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_resource_handler.h
===================================================================
--- content/browser/download/download_resource_handler.h (revision 98659)
+++ content/browser/download/download_resource_handler.h (working copy)
@@ -11,7 +11,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/timer.h"
#include "content/browser/download/download_file.h"
-#include "content/browser/download/download_id.h"
#include "content/browser/renderer_host/global_request_id.h"
#include "content/browser/renderer_host/resource_handler.h"
@@ -26,17 +25,15 @@
// Forwards data to the download thread.
class DownloadResourceHandler : public ResourceHandler {
public:
- DownloadResourceHandler(
- ResourceDispatcherHost* rdh,
- int render_process_host_id,
- int render_view_id,
- int request_id,
- const GURL& url,
- DownloadId dl_id,
- DownloadFileManager* download_file_manager,
- net::URLRequest* request,
- bool save_as,
- const DownloadSaveInfo& save_info);
+ DownloadResourceHandler(ResourceDispatcherHost* rdh,
+ int render_process_host_id,
+ int render_view_id,
+ int request_id,
+ const GURL& url,
+ DownloadFileManager* download_file_manager,
+ net::URLRequest* request,
+ bool save_as,
+ const DownloadSaveInfo& save_info);
virtual bool OnUploadProgress(int request_id, uint64 position, uint64 size);
@@ -78,7 +75,7 @@
void StartPauseTimer();
- DownloadId download_id_;
+ int download_id_;
GlobalRequestID global_id_;
int render_view_id_;
scoped_refptr<net::IOBuffer> read_buffer_;
« no previous file with comments | « content/browser/download/download_manager.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698