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

Unified Diff: chrome/browser/history/download_database.h

Issue 6969009: Reduced the lifetime of DownloadCreateInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Stupid clang! Created 9 years, 7 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/download/download_util.cc ('k') | chrome/browser/history/download_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/download_database.h
diff --git a/chrome/browser/history/download_database.h b/chrome/browser/history/download_database.h
index 56f650a62e95dca69524e40b28447fb0407bd551..bef60a1bc5cedaaceea235828407b2d6f2d0dee3 100644
--- a/chrome/browser/history/download_database.h
+++ b/chrome/browser/history/download_database.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include "chrome/browser/history/history_types.h"
-struct DownloadCreateInfo;
+struct DownloadHistoryInfo;
class FilePath;
namespace sql {
@@ -25,7 +25,7 @@ class DownloadDatabase {
virtual ~DownloadDatabase();
// Get all the downloads from the database.
- void QueryDownloads(std::vector<DownloadCreateInfo>* results);
+ void QueryDownloads(std::vector<DownloadHistoryInfo>* results);
// Update the state of one download. Returns true if successful.
bool UpdateDownload(int64 received_bytes, int32 state, DownloadID db_handle);
@@ -40,7 +40,7 @@ class DownloadDatabase {
bool CleanUpInProgressEntries();
// Create a new database entry for one download and return its primary db id.
- int64 CreateDownload(const DownloadCreateInfo& info);
+ int64 CreateDownload(const DownloadHistoryInfo& info);
// Remove a download from the database.
void RemoveDownload(DownloadID db_handle);
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/history/download_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698