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

Issue 16152003: [SyncFileSystem] Push metadata with empty MD5 for to_be_fetched file. (Closed)

Created:
7 years, 6 months ago by tzik
Modified:
7 years, 6 months ago
Reviewers:
kinuko, calvinlo
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch
Visibility:
Public.

Description

[SyncFileSystem] Push metadata with empty MD5 for to_be_fetched file. Populating this for not-yet-fetched file causes NOT_MODIFIED case on downloading the file. BUG=229764 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203097

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/sync_file_system/drive_file_sync_service.cc View 1 chunk +1 line, -1 line 6 comments Download

Messages

Total messages: 15 (0 generated)
tzik
PTL
7 years, 6 months ago (2013-05-29 06:02:11 UTC) #1
kinuko
Can you fill the BUG= line? Is there a way for us to find out ...
7 years, 6 months ago (2013-05-29 06:10:47 UTC) #2
tzik
On 2013/05/29 06:10:47, kinuko wrote: > Can you fill the BUG= line? Is there a ...
7 years, 6 months ago (2013-05-29 06:27:43 UTC) #3
kinuko
https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode775 chrome/browser/sync_file_system/drive_file_sync_service.cc:775: metadata.set_to_be_fetched(true); Question... if to_be_fetched==true should md5_checksum always empty? Then ...
7 years, 6 months ago (2013-05-29 06:34:27 UTC) #4
calvinlo
https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode773 chrome/browser/sync_file_system/drive_file_sync_service.cc:773: metadata.set_md5_checksum(std::string()); While this change works, I think it's honestly ...
7 years, 6 months ago (2013-05-29 06:39:00 UTC) #5
tzik
https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode775 chrome/browser/sync_file_system/drive_file_sync_service.cc:775: metadata.set_to_be_fetched(true); On 2013/05/29 06:34:28, kinuko wrote: > Question... if ...
7 years, 6 months ago (2013-05-29 06:41:53 UTC) #6
calvinlo
On 2013/05/29 06:34:27, kinuko wrote: > https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc > File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): > > https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode775 > ...
7 years, 6 months ago (2013-05-29 06:42:33 UTC) #7
tzik
https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode773 chrome/browser/sync_file_system/drive_file_sync_service.cc:773: metadata.set_md5_checksum(std::string()); On 2013/05/29 06:39:00, calvinlo wrote: > While this ...
7 years, 6 months ago (2013-05-29 07:08:11 UTC) #8
calvinlo
https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode773 chrome/browser/sync_file_system/drive_file_sync_service.cc:773: metadata.set_md5_checksum(std::string()); On 2013/05/29 07:08:11, tzik wrote: > On 2013/05/29 ...
7 years, 6 months ago (2013-05-29 07:50:09 UTC) #9
kinuko
On 2013/05/29 07:50:09, calvinlo wrote: > https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc > File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): > > https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode773 > ...
7 years, 6 months ago (2013-05-29 14:50:14 UTC) #10
kinuko
(Talked offline /w tzik) Ok, let this go as is as a quick fix, since ...
7 years, 6 months ago (2013-05-30 02:13:55 UTC) #11
tzik
On 2013/05/29 07:50:09, calvinlo wrote: > https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc > File chrome/browser/sync_file_system/drive_file_sync_service.cc (right): > > https://codereview.chromium.org/16152003/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#newcode773 > ...
7 years, 6 months ago (2013-05-30 03:49:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/16152003/1
7 years, 6 months ago (2013-05-30 03:49:16 UTC) #13
calvinlo
lgtm ok for now then based on comments.
7 years, 6 months ago (2013-05-30 03:57:06 UTC) #14
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 06:36:11 UTC) #15
Message was sent while issue was closed.
Change committed as 203097

Powered by Google App Engine
This is Rietveld 408576698