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

Issue 18506002: drive/syncFS: Switch to ID based download URL. (Closed)

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

Description

drive/syncFS: Switch to ID based download URL. File downloading from drive server is now done from a fixed URL generatable from resource ID, not an ephemeral URL got by preceding additional API call. To make the patch single-purposed, it will not yet remove the "additional API call" to get the old download URL. That'll be in a coming separate patch. BUG=254025 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209943

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Rebase! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -51 lines) Patch
M chrome/browser/chromeos/drive/fake_file_system.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/file_system/download_operation.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/job_scheduler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/job_scheduler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/drive/job_scheduler_unittest.cc View 10 chunks +6 lines, -10 lines 0 comments Download
M chrome/browser/drive/drive_api_service.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/drive/drive_api_service.cc View 1 4 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/drive/drive_service_interface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/drive/dummy_drive_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/drive/dummy_drive_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/drive/fake_drive_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/drive/fake_drive_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/drive/fake_drive_service_unittest.cc View 4 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/drive/gdata_wapi_service.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/drive/gdata_wapi_service.cc View 1 2 3 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/api_util.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
kinaba
ptal. This needs https://codereview.chromium.org/18211008/ to be landed first.
7 years, 5 months ago (2013-07-02 09:46:49 UTC) #1
hidehiko
lgtm
7 years, 5 months ago (2013-07-02 11:20:31 UTC) #2
tzik
Looks good. https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc File chrome/browser/sync_file_system/drive_backend/api_util.cc (right): https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc#newcode490 chrome/browser/sync_file_system/drive_backend/api_util.cc:490: drive_service_->GetResourceEntry( If |local_file_md5| is empty, we might ...
7 years, 5 months ago (2013-07-02 12:34:27 UTC) #3
kinaba
https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc File chrome/browser/sync_file_system/drive_backend/api_util.cc (right): https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc#newcode490 chrome/browser/sync_file_system/drive_backend/api_util.cc:490: drive_service_->GetResourceEntry( On 2013/07/02 12:34:27, tzik wrote: > If |local_file_md5| ...
7 years, 5 months ago (2013-07-02 13:15:08 UTC) #4
hidehiko
On 2013/07/02 13:15:08, kinaba wrote: > https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc > File chrome/browser/sync_file_system/drive_backend/api_util.cc (right): > > https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc#newcode490 > ...
7 years, 5 months ago (2013-07-02 15:35:15 UTC) #5
kinaba
https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc File chrome/browser/sync_file_system/drive_backend/api_util.cc (right): https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc#newcode490 chrome/browser/sync_file_system/drive_backend/api_util.cc:490: drive_service_->GetResourceEntry( On 2013/07/02 13:15:09, kinaba wrote: > On 2013/07/02 ...
7 years, 5 months ago (2013-07-03 02:18:56 UTC) #6
tzik
lgtm https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc File chrome/browser/sync_file_system/drive_backend/api_util.cc (right): https://codereview.chromium.org/18506002/diff/1/chrome/browser/sync_file_system/drive_backend/api_util.cc#newcode490 chrome/browser/sync_file_system/drive_backend/api_util.cc:490: drive_service_->GetResourceEntry( On 2013/07/03 02:18:56, kinaba wrote: > On ...
7 years, 5 months ago (2013-07-03 02:40:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/18506002/15002
7 years, 5 months ago (2013-07-03 03:40:14 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-03 10:00:08 UTC) #9
Message was sent while issue was closed.
Change committed as 209943

Powered by Google App Engine
This is Rietveld 408576698