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

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

Issue 10689093: Move Rename functionality from DownloadFileManager to DownloadFileImple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. 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_file_manager.h
diff --git a/content/browser/download/download_file_manager.h b/content/browser/download/download_file_manager.h
index c7409667aa5d47c1e288ef6f97ded0c910c0faa0..f188e60f8d6c0c1f6c776eca15b8587f7dc468ae 100644
--- a/content/browser/download/download_file_manager.h
+++ b/content/browser/download/download_file_manager.h
@@ -50,6 +50,7 @@
#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,7 +63,6 @@ class FilePath;
namespace content {
class ByteStreamReader;
-class DownloadFile;
class DownloadId;
class DownloadManager;
}
@@ -83,7 +83,8 @@ class CONTENT_EXPORT DownloadFileManager
CreateDownloadFileCallback;
// Callback used with RenameDownloadFile().
- typedef base::Callback<void(const FilePath&)> RenameCompletionCallback;
+ typedef content::DownloadFile::RenameCompletionCallback
+ RenameCompletionCallback;
class DownloadFileFactory {
public:

Powered by Google App Engine
This is Rietveld 408576698