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

Unified Diff: content/browser/download/download_item_impl.h

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: content/browser/download/download_item_impl.h
diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
index 0a64132e6733822860c7eb4a40479a44ece8183b..ea758fa0da3084726b161462df87ed4f91dcf06b 100644
--- a/content/browser/download/download_item_impl.h
+++ b/content/browser/download/download_item_impl.h
@@ -44,7 +44,6 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
DownloadItemImpl(DownloadItemImplDelegate* delegate,
const DownloadCreateInfo& info,
scoped_ptr<DownloadRequestHandleInterface> request_handle,
- bool is_otr,
const net::BoundNetLog& bound_net_log);
// Constructing for the "Save Page As..." feature:
@@ -52,7 +51,6 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
DownloadItemImpl(DownloadItemImplDelegate* delegate,
const FilePath& path,
const GURL& url,
- bool is_otr,
content::DownloadId download_id,
const std::string& mime_type,
const net::BoundNetLog& bound_net_log);
@@ -174,7 +172,6 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
virtual const FilePath& GetForcedFilePath() const OVERRIDE;
virtual bool HasUserGesture() const OVERRIDE;
virtual content::PageTransition GetTransitionType() const OVERRIDE;
- virtual bool IsOtr() const OVERRIDE;
virtual bool IsTemporary() const OVERRIDE;
virtual void SetIsTemporary(bool temporary) OVERRIDE;
virtual void SetOpened(bool opened) OVERRIDE;
@@ -380,9 +377,6 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
bool is_persisted_;
- // True if the download was initiated in an incognito window.
- bool is_otr_;
-
// True if the item was downloaded temporarily.
bool is_temporary_;

Powered by Google App Engine
This is Rietveld 408576698