| Index: chrome/browser/chromeos/gdata/gdata_cache.h
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_cache.h b/chrome/browser/chromeos/gdata/gdata_cache.h
|
| index de99af4fff7d7ef8fc28342c1d2c4da2dee1e1f6..e3280ae4c6ab74e2d626d1ccb82f66a2a77897ea 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_cache.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_cache.h
|
| @@ -121,7 +121,7 @@ class GDataCache {
|
|
|
| // Structure to store information of an existing cache file.
|
| struct CacheEntry {
|
| - CacheEntry() : cache_state(0) {}
|
| + CacheEntry() : cache_state(CACHE_STATE_NONE) {}
|
|
|
| CacheEntry(const std::string& md5,
|
| int cache_state)
|
| @@ -149,7 +149,8 @@ class GDataCache {
|
|
|
| // Callback for GetCacheEntryOnUIThread.
|
| // |success| indicates if the operation was successful.
|
| - // |cache_entry| is the obtained cache entry.
|
| + // |cache_entry| is the obtained cache entry. On failure, |cache_state| is
|
| + // set to CACHE_STATE_NONE.
|
| //
|
| // TODO(satorux): Unlike other callback types, this has to be defined
|
| // inside GDataCache as CacheEntry is inside GDataCache. We should get them
|
|
|