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

Issue 10735049: gdata: Take GDataCache::CacheEntry as parameters (Closed)

Created:
8 years, 5 months ago by satorux1
Modified:
8 years, 5 months ago
Reviewers:
hashimoto
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: Take GDataCache::CacheEntry as parameters Change GDataCache::UpdateCacheWithSubDirectoryType() and GDataCacheMetadata::UpdateCache() to take CacheEntry. This is in preparation for removing IsCache/SetCache/ClearCache* functions from GDataCache. BUG=136625 TEST=out/Release/unit_tests --gtest_filter=GData* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146179

Patch Set 1 #

Patch Set 2 : polish #

Patch Set 3 : polish #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -42 lines) Patch
M chrome/browser/chromeos/gdata/gdata_cache.h View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache.cc View 1 2 7 chunks +12 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache_metadata.h View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache_metadata.cc View 1 chunk +8 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache_metadata_unittest.cc View 5 chunks +15 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
satorux1
8 years, 5 months ago (2012-07-11 06:54:12 UTC) #1
hashimoto
lgtm with two requests: 1) Please fix the change description to clarify which methods are ...
8 years, 5 months ago (2012-07-11 10:47:11 UTC) #2
satorux1
8 years, 5 months ago (2012-07-11 19:32:02 UTC) #3
On 2012/07/11 10:47:11, hashimoto wrote:
> lgtm with two requests:
> 
> 1) Please fix the change description to clarify which methods are taking
> CacheEntry as parameters.

Done.

> 2) Could you remove UpdateCacheWithSubDirectoryType() in this change or later?

> All user code of the method may be easily rewritten with UpdateCache().

Good idea. Will do it at a later time in a separate patch.

Powered by Google App Engine
This is Rietveld 408576698