| Index: trunk/src/chrome/browser/extensions/updater/local_extension_cache.cc
 | 
| ===================================================================
 | 
| --- trunk/src/chrome/browser/extensions/updater/local_extension_cache.cc	(revision 247820)
 | 
| +++ trunk/src/chrome/browser/extensions/updater/local_extension_cache.cc	(working copy)
 | 
| @@ -29,7 +29,7 @@
 | 
|  
 | 
|  LocalExtensionCache::LocalExtensionCache(
 | 
|      const base::FilePath& cache_dir,
 | 
| -    uint64 max_cache_size,
 | 
| +    size_t max_cache_size,
 | 
|      const base::TimeDelta& max_cache_age,
 | 
|      const scoped_refptr<base::SequencedTaskRunner>& backend_task_runner)
 | 
|      : cache_dir_(cache_dir),
 | 
| @@ -151,21 +151,6 @@
 | 
|    return true;
 | 
|  }
 | 
|  
 | 
| -bool LocalExtensionCache::GetStatistics(uint64* cache_size,
 | 
| -                                        size_t* extensions_count) {
 | 
| -  if (state_ != kReady)
 | 
| -    return false;
 | 
| -
 | 
| -  *cache_size = 0;
 | 
| -  for (CacheMap::iterator it = cached_extensions_.begin();
 | 
| -       it != cached_extensions_.end(); ++it) {
 | 
| -    *cache_size += it->second.size;
 | 
| -  }
 | 
| -  *extensions_count = cached_extensions_.size();
 | 
| -
 | 
| -  return true;
 | 
| -}
 | 
| -
 | 
|  void LocalExtensionCache::SetCacheStatusPollingDelayForTests(
 | 
|      const base::TimeDelta& delay) {
 | 
|    cache_status_polling_delay_ = delay;
 | 
| @@ -440,7 +425,7 @@
 | 
|  
 | 
|    std::vector<CacheMap::iterator> items;
 | 
|    items.reserve(cached_extensions_.size());
 | 
| -  uint64_t total_size = 0;
 | 
| +  size_t total_size = 0;
 | 
|    for (CacheMap::iterator it = cached_extensions_.begin();
 | 
|         it != cached_extensions_.end(); ++it) {
 | 
|      items.push_back(it);
 | 
| 
 |