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

Issue 10826006: gdata: File info of dirty files should be get from the cached file. (Closed)

Created:
8 years, 5 months ago by kinaba
Modified:
8 years, 4 months ago
Reviewers:
satorux1
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

gdata: File info of dirty files should be get from the cached file. This CL is the part 2 (of 2) for fixing 138512. In GDataFileSystem::GetEntry*() family of functions, check the existence of dirty cache and if there exists, use the file info from the cache file. BUG=138512 TEST=unit_tests --gtest_filter='*GData*' TEST=Manual: - edit a file by photo editor and save as a different file. - verify the file size and the date is displayed correctly for the edited file even if feed update intervenes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148712

Patch Set 1 : #

Total comments: 16

Patch Set 2 : Review. #

Patch Set 3 : Rebase. #

Total comments: 6

Patch Set 4 : Rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -18 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 chunks +120 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 1 2 15 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kinaba
8 years, 5 months ago (2012-07-25 05:42:35 UTC) #1
satorux1
http://codereview.chromium.org/10826006/diff/1001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10826006/diff/1001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode4133 chrome/browser/chromeos/gdata/gdata_file_system.cc:4133: void GDataFileSystem::ReflectLocalModificationToGDataEntryProto( maybe CheckLocalModificationAndRun() would describe what the function ...
8 years, 5 months ago (2012-07-25 19:28:45 UTC) #2
kinaba
Thanks for the review! http://codereview.chromium.org/10826006/diff/1001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10826006/diff/1001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode4133 chrome/browser/chromeos/gdata/gdata_file_system.cc:4133: void GDataFileSystem::ReflectLocalModificationToGDataEntryProto( On 2012/07/25 19:28:45, ...
8 years, 5 months ago (2012-07-26 03:17:52 UTC) #3
satorux1
LGTM with nits http://codereview.chromium.org/10826006/diff/1003/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10826006/diff/1003/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode4204 chrome/browser/chromeos/gdata/gdata_file_system.cc:4204: base::Bind(&GDataFileSystem::ReflectLocalModificationAfterGetCacheEntry, CheckLocalModificationAndRunAfterGetCacheEntry? because the function was ...
8 years, 5 months ago (2012-07-26 12:08:14 UTC) #4
kinaba
Done. http://codereview.chromium.org/10826006/diff/1003/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10826006/diff/1003/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode4204 chrome/browser/chromeos/gdata/gdata_file_system.cc:4204: base::Bind(&GDataFileSystem::ReflectLocalModificationAfterGetCacheEntry, On 2012/07/26 12:08:14, satorux1 wrote: > CheckLocalModificationAndRunAfterGetCacheEntry? ...
8 years, 4 months ago (2012-07-27 01:47:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/10826006/3003
8 years, 4 months ago (2012-07-27 02:01:01 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-07-27 03:15:23 UTC) #7
Change committed as 148712

Powered by Google App Engine
This is Rietveld 408576698