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

Unified Diff: content/public/browser/download_manager.h

Issue 18284005: Make ByteStream independent from DownloadInterruptReason (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rdsmith's comments Created 7 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/test/mock_download_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_manager.h
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index 35f191b61537ddfea128db46f337d71ad6e09c72..b8cbc180d357079e440379bfc07dda0bc2b2944e 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -47,6 +47,7 @@ class GURL;
namespace content {
class BrowserContext;
+template <typename StatusType>
class ByteStreamReader;
class DownloadManagerDelegate;
class DownloadQuery;
@@ -108,7 +109,7 @@ class CONTENT_EXPORT DownloadManager : public base::SupportsUserData::Data {
// specifies an id, that id will be used.
virtual void StartDownload(
scoped_ptr<DownloadCreateInfo> info,
- scoped_ptr<ByteStreamReader> stream,
+ scoped_ptr<ByteStreamReader<DownloadInterruptReason> > stream,
const DownloadUrlParameters::OnStartedCallback& on_started) = 0;
// Remove downloads after remove_begin (inclusive) and before remove_end
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/test/mock_download_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698