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

Unified Diff: chrome/browser/chromeos/drive/file_system/download_operation.cc

Issue 450903002: Random clean up around Chrome OS file manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/file_system/download_operation.cc
diff --git a/chrome/browser/chromeos/drive/file_system/download_operation.cc b/chrome/browser/chromeos/drive/file_system/download_operation.cc
index bc4681514a10242cb95cda6dfa6753b9a55d5ae5..bf948cf18da069d935c39489fadc30cb7d9c8fc2 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation.cc
@@ -8,7 +8,6 @@
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/logging.h"
-#include "base/strings/stringprintf.h"
#include "base/task_runner_util.h"
#include "chrome/browser/chromeos/drive/drive.pb.h"
#include "chrome/browser/chromeos/drive/file_cache.h"
@@ -17,7 +16,6 @@
#include "chrome/browser/chromeos/drive/file_system/operation_delegate.h"
#include "chrome/browser/chromeos/drive/file_system_util.h"
#include "chrome/browser/chromeos/drive/job_scheduler.h"
-#include "chrome/browser/chromeos/drive/resource_entry_conversion.h"
#include "chrome/browser/chromeos/drive/resource_metadata.h"
#include "content/public/browser/browser_thread.h"
#include "google_apis/drive/gdata_errorcode.h"
@@ -99,7 +97,6 @@ FileError CheckPreConditionForEnsureFileDownloaded(
base::FilePath::StringType extension = base::FilePath::FromUTF8Unsafe(
entry->file_specific_info().document_extension()).value();
base::FilePath gdoc_file_path;
- // TODO(rvargas): Convert this code to use base::File::Info.
base::File::Info file_info;
// We add the gdoc file extension in the temporary file, so that in cross
// profile drag-and-drop between Drive folders, the destination profiles's

Powered by Google App Engine
This is Rietveld 408576698