Lines Matching refs:renderer_id
78 void WebCacheManager::Add(int renderer_id) {
79 DCHECK(inactive_renderers_.count(renderer_id) == 0);
85 // DCHECK(active_renderers_.count(renderer_id) == 0);
90 active_renderers_.insert(renderer_id);
92 RendererInfo* stats = &(stats_[renderer_id]);
100 void WebCacheManager::Remove(int renderer_id) {
102 active_renderers_.erase(renderer_id);
103 inactive_renderers_.erase(renderer_id);
104 stats_.erase(renderer_id);
110 void WebCacheManager::ObserveActivity(int renderer_id) {
111 StatsMap::iterator item = stats_.find(renderer_id);
116 active_renderers_.insert(renderer_id);
119 std::set<int>::iterator elmt = inactive_renderers_.find(renderer_id);
130 void WebCacheManager::ObserveStats(int renderer_id,
132 StatsMap::iterator entry = stats_.find(renderer_id);