Index: extensions/browser/api/storage/local_value_store_cache.cc |
diff --git a/extensions/browser/api/storage/local_value_store_cache.cc b/extensions/browser/api/storage/local_value_store_cache.cc |
index da53b63d5885b220bfbd14b8f7c5030a042cf0b9..60e9f22da0b83d5c0e500cbc652ab5f4ff8a7086 100644 |
--- a/extensions/browser/api/storage/local_value_store_cache.cc |
+++ b/extensions/browser/api/storage/local_value_store_cache.cc |
@@ -9,7 +9,6 @@ |
#include "base/bind.h" |
#include "base/callback.h" |
#include "base/files/file_path.h" |
-#include "base/metrics/histogram.h" |
#include "content/public/browser/browser_thread.h" |
#include "extensions/browser/api/storage/settings_storage_factory.h" |
#include "extensions/browser/api/storage/settings_storage_quota_enforcer.h" |
@@ -93,15 +92,6 @@ ValueStore* LocalValueStoreCache::GetStorage( |
quota_, storage_factory_->Create(file_path, extension->id()))); |
DCHECK(storage.get()); |
- if (extension->permissions_data()->HasAPIPermission( |
- APIPermission::kUnlimitedStorage) && |
- extension->is_hosted_app()) { |
- // We're interested in the amount of space hosted apps are using. Record it |
- // the first time we load the storage for the extension. |
- UMA_HISTOGRAM_MEMORY_KB("Extensions.HostedAppUnlimitedStorageUsage", |
- storage->GetBytesInUse()); |
- } |
- |
storage_map_[extension->id()] = storage; |
return storage.get(); |
} |