| 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 e3280ae4c6ab74e2d626d1ccb82f66a2a77897ea..6d27156cb55bbdbcc71d62f7fa3951d66017fae7 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_cache.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_cache.h
|
| @@ -339,13 +339,14 @@ class GDataCache {
|
| // Utility method to call Initialize on UI thread.
|
| void RequestInitializeOnUIThread();
|
|
|
| - // Returns the cache entry for file corresponding to |resource_id| and |md5|
|
| - // if entry exists in cache map. Otherwise, returns NULL.
|
| + // Gets the cache entry for file corresponding to |resource_id| and |md5|
|
| + // and returns true if entry exists in cache map. Otherwise, returns false.
|
| // |md5| can be empty if only matching |resource_id| is desired, which may
|
| // happen when looking for pinned entries where symlinks' filenames have no
|
| // extension and hence no md5.
|
| - scoped_ptr<CacheEntry> GetCacheEntry(const std::string& resource_id,
|
| - const std::string& md5);
|
| + bool GetCacheEntry(const std::string& resource_id,
|
| + const std::string& md5,
|
| + CacheEntry* entry);
|
|
|
| // Factory methods for GDataCache.
|
| // |pool| and |sequence_token| are used to assert that the functions are
|
|
|