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

Unified Diff: content/browser/download/download_item.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_id.cc ('k') | content/browser/download/download_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_item.h
===================================================================
--- content/browser/download/download_item.h (revision 98659)
+++ content/browser/download/download_item.h (working copy)
@@ -19,7 +19,6 @@
#pragma once
#include <string>
-#include <iostream>
#include "base/basictypes.h"
#include "base/file_path.h"
@@ -31,7 +30,6 @@
#include "googleurl/src/gurl.h"
class DownloadFileManager;
-class DownloadId;
class DownloadManager;
struct DownloadCreateInfo;
struct DownloadPersistentStoreInfo;
@@ -124,7 +122,7 @@
const FilePath& path,
const GURL& url,
bool is_otr,
- DownloadId download_id);
+ int download_id);
virtual ~DownloadItem();
@@ -275,7 +273,6 @@
}
int64 received_bytes() const { return received_bytes_; }
int32 id() const { return download_id_; }
- DownloadId global_id() const;
base::Time start_time() const { return start_time_; }
void set_db_handle(int64 handle) { db_handle_ = handle; }
int64 db_handle() const { return db_handle_; }
« no previous file with comments | « content/browser/download/download_id.cc ('k') | content/browser/download/download_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698