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

Unified Diff: chrome/browser/chromeos/drive/drive_integration_service.cc

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
Index: chrome/browser/chromeos/drive/drive_integration_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
index cb7112c31ac66f6030888d6afc159f48378a2ac0..7f02c2939ba20c86d03f435dfd6148b872b6a9af 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
@@ -16,7 +16,6 @@
#include "chrome/browser/chromeos/drive/file_cache.h"
#include "chrome/browser/chromeos/drive/file_system.h"
#include "chrome/browser/chromeos/drive/file_system_util.h"
-#include "chrome/browser/chromeos/drive/file_write_helper.h"
#include "chrome/browser/chromeos/drive/job_scheduler.h"
#include "chrome/browser/chromeos/drive/logging.h"
#include "chrome/browser/chromeos/drive/resource_metadata.h"
@@ -204,9 +203,7 @@ DriveIntegrationService::DriveIntegrationService(
resource_metadata_.get(),
blocking_task_runner_.get(),
cache_root_directory_.Append(util::kTemporaryFileDirectory)));
- file_write_helper_.reset(new FileWriteHelper(file_system()));
- download_handler_.reset(new DownloadHandler(file_write_helper(),
- file_system()));
+ download_handler_.reset(new DownloadHandler(file_system()));
debug_info_collector_.reset(
new DebugInfoCollector(file_system(), cache_.get()));
}
@@ -243,7 +240,6 @@ void DriveIntegrationService::Shutdown() {
RemoveDriveMountPoint();
debug_info_collector_.reset();
download_handler_.reset();
- file_write_helper_.reset();
file_system_.reset();
drive_app_registry_.reset();
scheduler_.reset();
« no previous file with comments | « chrome/browser/chromeos/drive/drive_integration_service.h ('k') | chrome/browser/chromeos/drive/file_system_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698