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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_service.cc

Issue 16152003: [SyncFileSystem] Push metadata with empty MD5 for to_be_fetched file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.cc b/chrome/browser/sync_file_system/drive_file_sync_service.cc
index ee21075fe2aa6a9d1d09226a570d67cb995a1daa..b26eaa136f6143cf8f6237233c73e847c046ed19 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.cc
@@ -770,7 +770,7 @@ void DriveFileSyncService::DidGetDirectoryContentForBatchSync(
// Save to be fetched file to DB for restore in case of crash.
DriveMetadata metadata;
metadata.set_resource_id(entry.resource_id());
- metadata.set_md5_checksum(entry.file_md5());
+ metadata.set_md5_checksum(std::string());
calvinlo 2013/05/29 06:39:00 While this change works, I think it's honestly qui
tzik 2013/05/29 07:08:11 This does not need .cc impl, but needs the documen
calvinlo 2013/05/29 07:50:09 I'm not sure that I agree. Right now the function
metadata.set_conflicted(false);
metadata.set_to_be_fetched(true);
kinuko 2013/05/29 06:34:28 Question... if to_be_fetched==true should md5_chec
tzik 2013/05/29 06:41:53 Yes, we should check it. I think the best places a
calvinlo 2013/05/29 07:50:09 If you go this route, I think it'd also be a good
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698