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

Unified Diff: chrome/browser/renderer_host/web_cache_manager.cc

Issue 7600007: Profiles: Eliminate dead notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/ui/views/bubble/bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/web_cache_manager.cc
diff --git a/chrome/browser/renderer_host/web_cache_manager.cc b/chrome/browser/renderer_host/web_cache_manager.cc
index fa71150343b720d5f06c2701ed9ab23205ba1ac9..2574ad32ef9b7aec34a84a25b57c0d7d8399d64a 100644
--- a/chrome/browser/renderer_host/web_cache_manager.cc
+++ b/chrome/browser/renderer_host/web_cache_manager.cc
@@ -137,15 +137,6 @@ void WebCacheManager::ObserveStats(int renderer_id,
entry->second.liveSize = stats.liveSize;
entry->second.maxDeadCapacity = stats.maxDeadCapacity;
entry->second.minDeadCapacity = stats.minDeadCapacity;
-
- // trigger notification
- WebCache::UsageStats stats_details(stats);
- // &stats_details is only valid during the notification.
- // See notification_types.h.
- NotificationService::current()->Notify(
- chrome::NOTIFICATION_WEB_CACHE_STATS_OBSERVED,
- Source<RenderProcessHost>(RenderProcessHost::FromID(renderer_id)),
- Details<WebCache::UsageStats>(&stats_details));
}
void WebCacheManager::SetGlobalSizeLimit(size_t bytes) {
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/ui/views/bubble/bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698