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

Side by Side Diff: content/browser/download/download_item_factory.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // The DownloadItemFactory is used to produce different DownloadItems. 5 // The DownloadItemFactory is used to produce different DownloadItems.
6 // It is separate from the DownloadManager to allow download manager 6 // It is separate from the DownloadManager to allow download manager
7 // unit tests to control the items produced. 7 // unit tests to control the items produced.
8 8
9 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_FACTORY_H_ 9 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_FACTORY_H_
10 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_FACTORY_H_ 10 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_FACTORY_H_
(...skipping 29 matching lines...) Expand all
40 virtual DownloadItemImpl* CreatePersistedItem( 40 virtual DownloadItemImpl* CreatePersistedItem(
41 DownloadItemImplDelegate* delegate, 41 DownloadItemImplDelegate* delegate,
42 content::DownloadId download_id, 42 content::DownloadId download_id,
43 const content::DownloadPersistentStoreInfo& info, 43 const content::DownloadPersistentStoreInfo& info,
44 const net::BoundNetLog& bound_net_log) = 0; 44 const net::BoundNetLog& bound_net_log) = 0;
45 45
46 virtual DownloadItemImpl* CreateActiveItem( 46 virtual DownloadItemImpl* CreateActiveItem(
47 DownloadItemImplDelegate* delegate, 47 DownloadItemImplDelegate* delegate,
48 const DownloadCreateInfo& info, 48 const DownloadCreateInfo& info,
49 scoped_ptr<DownloadRequestHandleInterface> request_handle, 49 scoped_ptr<DownloadRequestHandleInterface> request_handle,
50 bool is_otr,
51 const net::BoundNetLog& bound_net_log) = 0; 50 const net::BoundNetLog& bound_net_log) = 0;
52 51
53 virtual DownloadItemImpl* CreateSavePageItem( 52 virtual DownloadItemImpl* CreateSavePageItem(
54 DownloadItemImplDelegate* delegate, 53 DownloadItemImplDelegate* delegate,
55 const FilePath& path, 54 const FilePath& path,
56 const GURL& url, 55 const GURL& url,
57 bool is_otr,
58 content::DownloadId download_id, 56 content::DownloadId download_id,
59 const std::string& mime_type, 57 const std::string& mime_type,
60 const net::BoundNetLog& bound_net_log) = 0; 58 const net::BoundNetLog& bound_net_log) = 0;
61 }; 59 };
62 60
63 } // namespace content 61 } // namespace content
64 62
65 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_FACTORY_H_ 63 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/downloads_dom_handler.cc ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698