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

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

Issue 10702151: Revert 146162 - Move Rename functionality from DownloadFileManager to DownloadFileImple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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
« no previous file with comments | « content/browser/download/download_file_impl.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file_manager.h
===================================================================
--- content/browser/download/download_file_manager.h (revision 146176)
+++ content/browser/download/download_file_manager.h (working copy)
@@ -49,7 +49,6 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/timer.h"
-#include "content/browser/download/download_file.h"
#include "content/common/content_export.h"
#include "content/public/browser/download_id.h"
#include "content/public/browser/download_interrupt_reasons.h"
@@ -62,6 +61,7 @@
namespace content {
class ByteStreamReader;
+class DownloadFile;
class DownloadId;
class DownloadManager;
}
@@ -82,8 +82,7 @@
CreateDownloadFileCallback;
// Callback used with RenameDownloadFile().
- typedef content::DownloadFile::RenameCompletionCallback
- RenameCompletionCallback;
+ typedef base::Callback<void(const FilePath&)> RenameCompletionCallback;
class DownloadFileFactory {
public:
« no previous file with comments | « content/browser/download/download_file_impl.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698