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

Unified Diff: chrome/browser/download/download_history.cc

Issue 10805020: Kill DownloadItem::IsOtr() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 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_history.cc
diff --git a/chrome/browser/download/download_history.cc b/chrome/browser/download/download_history.cc
index cdce4b8e66250d9f4850586b5c8676bb94111574..b6e3cc787bd61633265b2e0c35fe52b54825be9c 100644
--- a/chrome/browser/download/download_history.cc
+++ b/chrome/browser/download/download_history.cc
@@ -81,8 +81,7 @@ void DownloadHistory::AddEntry(
// the neck first. YMMV.
HistoryService* hs =
HistoryServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS);
- if (download_item->IsOtr() ||
- download_crx_util::IsExtensionDownload(*download_item) ||
+ if (download_crx_util::IsExtensionDownload(*download_item) ||
download_item->IsTemporary() || !hs) {
callback.Run(download_item->GetId(), GetNextFakeDbHandle());
return;

Powered by Google App Engine
This is Rietveld 408576698