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

Unified Diff: chrome/browser/chromeos/drive/download_handler.h

Issue 23050014: Convert drive::FileWriteHelper to a single function for simplification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | chrome/browser/chromeos/drive/download_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/download_handler.h
diff --git a/chrome/browser/chromeos/drive/download_handler.h b/chrome/browser/chromeos/drive/download_handler.h
index 4289a5ffae53870c47b47bb8a81ea71b68327992..4f2ec20cc1741f35ffea540ff67610b391b4147f 100644
--- a/chrome/browser/chromeos/drive/download_handler.h
+++ b/chrome/browser/chromeos/drive/download_handler.h
@@ -21,15 +21,13 @@ class DownloadManager;
namespace drive {
class FileSystemInterface;
-class FileWriteHelper;
class ResourceEntry;
// Observes downloads to temporary local drive folder. Schedules these
// downloads for upload to drive service.
class DownloadHandler : public AllDownloadItemNotifier::Observer {
public:
- DownloadHandler(FileWriteHelper* file_write_helper,
- FileSystemInterface* file_system);
+ explicit DownloadHandler(FileSystemInterface* file_system);
virtual ~DownloadHandler();
// Utility method to get DownloadHandler with profile.
@@ -91,7 +89,6 @@ class DownloadHandler : public AllDownloadItemNotifier::Observer {
// Starts the upload of a downloaded/downloading file.
void UploadDownloadItem(content::DownloadItem* download);
- FileWriteHelper* file_write_helper_;
FileSystemInterface* file_system_; // Owned by DriveIntegrationService.
// Observe the DownloadManager for new downloads.
scoped_ptr<AllDownloadItemNotifier> notifier_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/download_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698