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

Issue 16190003: drive: Add DownloadOperation::EnsureFileDownloadedByResourceId (Closed)

Created:
7 years, 6 months ago by hashimoto
Modified:
7 years, 6 months ago
Reviewers:
satorux1
CC:
chromium-reviews, nkostylev+watch_chromium.org, tfarina, oshima+watch_chromium.org, tzik+watch_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

drive: Add DownloadOperation::EnsureFileDownloadedByResourceId FileSystem::GetFileByResourceId was converting resource ID to file path and then calling EnsureFileDownloaded. Rename EnsureFileDownloaded to EnsureFileDownloadedByPath and add an additional version EnsureFlieDownloadedByResourceID to avoid the unnecessary conversion from resource ID to file path. BUG=244135 TEST=unit_tests R=satorux@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203040

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -74 lines) Patch
M chrome/browser/chromeos/drive/file_system.h View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system.cc View 4 chunks +4 lines, -29 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system/download_operation.h View 1 2 3 chunks +14 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system/download_operation.cc View 5 chunks +74 lines, -25 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system/operations.h View 1 chunk +10 lines, -1 line 0 comments Download
M chrome/browser/chromeos/drive/file_system/operations.cc View 2 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
hashimoto
7 years, 6 months ago (2013-05-29 07:38:36 UTC) #1
hashimoto
On 2013/05/29 07:38:36, hashimoto wrote: Changing the argument of EnsureFileDownloaded from file path to resource ...
7 years, 6 months ago (2013-05-29 07:41:01 UTC) #2
satorux1
LGTM with a nit and a request. https://codereview.chromium.org/16190003/diff/1/chrome/browser/chromeos/drive/file_system/download_operation.h File chrome/browser/chromeos/drive/file_system/download_operation.h (right): https://codereview.chromium.org/16190003/diff/1/chrome/browser/chromeos/drive/file_system/download_operation.h#newcode48 chrome/browser/chromeos/drive/file_system/download_operation.h:48: // Ensures ...
7 years, 6 months ago (2013-05-30 01:14:35 UTC) #3
hashimoto
https://codereview.chromium.org/16190003/diff/1/chrome/browser/chromeos/drive/file_system/download_operation.h File chrome/browser/chromeos/drive/file_system/download_operation.h (right): https://codereview.chromium.org/16190003/diff/1/chrome/browser/chromeos/drive/file_system/download_operation.h#newcode48 chrome/browser/chromeos/drive/file_system/download_operation.h:48: // Ensures that the file content is locally downloaded. ...
7 years, 6 months ago (2013-05-30 01:47:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/16190003/9001
7 years, 6 months ago (2013-05-30 01:47:35 UTC) #5
hashimoto
7 years, 6 months ago (2013-05-30 03:28:33 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r203040 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698