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

Issue 10698124: gdata: Remove sub_dir_type from CacheEntry for simplicity (Closed)

Created:
8 years, 5 months ago by satorux1
Modified:
8 years, 5 months ago
Reviewers:
satorux, hshi1
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: Remove sub_dir_type from CacheEntry for simplicity Having this member was awkward, as it's inconsistent with other states, which are all stored in |cache_state|. BUG=136390 TEST=out/Release/unit_tests --gtest_filter=GData* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=145933

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -158 lines) Patch
M chrome/browser/chromeos/gdata/gdata_cache.h View 1 6 chunks +30 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache.cc View 17 chunks +56 lines, -45 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache_metadata.h View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache_metadata.cc View 7 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache_metadata_unittest.cc View 10 chunks +29 lines, -33 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_cache_unittest.cc View 25 chunks +86 lines, -50 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 6 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
satorux1
8 years, 5 months ago (2012-07-10 07:04:47 UTC) #1
hshi1
LGTM with nits, thanks! http://codereview.chromium.org/10698124/diff/1/chrome/browser/chromeos/gdata/gdata_cache.h File chrome/browser/chromeos/gdata/gdata_cache.h (right): http://codereview.chromium.org/10698124/diff/1/chrome/browser/chromeos/gdata/gdata_cache.h#newcode88 chrome/browser/chromeos/gdata/gdata_cache.h:88: CACHE_STATE_PERSISTENT = 0x1 << 4, ...
8 years, 5 months ago (2012-07-10 17:41:59 UTC) #2
satorux
8 years, 5 months ago (2012-07-10 17:54:19 UTC) #3
satorux1
http://codereview.chromium.org/10698124/diff/1/chrome/browser/chromeos/gdata/gdata_cache.h File chrome/browser/chromeos/gdata/gdata_cache.h (right): http://codereview.chromium.org/10698124/diff/1/chrome/browser/chromeos/gdata/gdata_cache.h#newcode88 chrome/browser/chromeos/gdata/gdata_cache.h:88: CACHE_STATE_PERSISTENT = 0x1 << 4, On 2012/07/10 17:41:59, hshi1 ...
8 years, 5 months ago (2012-07-10 18:26:12 UTC) #4
hshi1
8 years, 5 months ago (2012-07-10 18:31:56 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698