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

Unified Diff: chrome/browser/download/download_file_manager.h

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: DownloadPrefs::GetNextId() Created 9 years, 5 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: chrome/browser/download/download_file_manager.h
diff --git a/chrome/browser/download/download_file_manager.h b/chrome/browser/download/download_file_manager.h
index 2b52636c03d3866a0f412d05eb6f49aaedd3fcd7..88dff935a588e5dd6107b9b174ef24e3ff183197 100644
--- a/chrome/browser/download/download_file_manager.h
+++ b/chrome/browser/download/download_file_manager.h
@@ -72,9 +72,6 @@ class DownloadFileManager
// Called on shutdown on the UI thread.
void Shutdown();
- // Called on the IO thread
- int GetNextId();
-
// Called on UI thread to make DownloadFileManager start the download.
void StartDownload(DownloadCreateInfo* info);
@@ -153,9 +150,6 @@ class DownloadFileManager
// it from the maps.
void EraseDownload(int id);
- // Unique ID for each DownloadFile.
- int next_id_;
-
typedef base::hash_map<int, DownloadFile*> DownloadFileMap;
// A map of all in progress downloads. It owns the download files.

Powered by Google App Engine
This is Rietveld 408576698