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

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, 4 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 | « content/browser/download/download_item_factory.h ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bbf531b789280495bdecd635863d3c07643ae5f5..efd3ca2ef349c9a4dd3234bfeda253c4b6a78576 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);
@@ -181,7 +179,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;
@@ -383,9 +380,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_;
« no previous file with comments | « content/browser/download/download_item_factory.h ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698