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

Unified Diff: chrome/browser/history/download_row.cc

Issue 833033002: Remove dependency on //content from history DownloadDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing conversion Created 5 years, 11 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/history/download_row.cc
diff --git a/chrome/browser/history/download_row.cc b/chrome/browser/history/download_row.cc
deleted file mode 100644
index 6621dac6dfb8961a918073d8124f0cf971ed9a81..0000000000000000000000000000000000000000
--- a/chrome/browser/history/download_row.cc
+++ /dev/null
@@ -1,63 +0,0 @@
-// 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.
-
-#include "chrome/browser/history/download_row.h"
-
-namespace history {
-
-DownloadRow::DownloadRow()
- : received_bytes(0),
- total_bytes(0),
- state(content::DownloadItem::IN_PROGRESS),
- danger_type(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS),
- interrupt_reason(content::DOWNLOAD_INTERRUPT_REASON_NONE),
- id(content::DownloadItem::kInvalidId),
- opened(false) {
-}
-
-DownloadRow::DownloadRow(
- const base::FilePath& current_path,
- const base::FilePath& target_path,
- const std::vector<GURL>& url_chain,
- const GURL& referrer,
- const std::string& mime_type,
- const std::string& original_mime_type,
- const base::Time& start,
- const base::Time& end,
- const std::string& etag,
- const std::string& last_modified,
- int64 received,
- int64 total,
- content::DownloadItem::DownloadState download_state,
- content::DownloadDangerType danger_type,
- content::DownloadInterruptReason interrupt_reason,
- uint32 id,
- bool download_opened,
- const std::string& ext_id,
- const std::string& ext_name)
- : current_path(current_path),
- target_path(target_path),
- url_chain(url_chain),
- referrer_url(referrer),
- mime_type(mime_type),
- original_mime_type(original_mime_type),
- start_time(start),
- end_time(end),
- etag(etag),
- last_modified(last_modified),
- received_bytes(received),
- total_bytes(total),
- state(download_state),
- danger_type(danger_type),
- interrupt_reason(interrupt_reason),
- id(id),
- opened(download_opened),
- by_ext_id(ext_id),
- by_ext_name(ext_name) {
-}
-
-DownloadRow::~DownloadRow() {
-}
-
-} // namespace history

Powered by Google App Engine
This is Rietveld 408576698