Lines Matching refs:renderer_id
70 void WebCacheManager::Add(int renderer_id) {
71 DCHECK(inactive_renderers_.count(renderer_id) == 0);
77 // DCHECK(active_renderers_.count(renderer_id) == 0);
82 active_renderers_.insert(renderer_id);
84 RendererInfo* stats = &(stats_[renderer_id]);
92 void WebCacheManager::Remove(int renderer_id) {
94 active_renderers_.erase(renderer_id);
95 inactive_renderers_.erase(renderer_id);
96 stats_.erase(renderer_id);
102 void WebCacheManager::ObserveActivity(int renderer_id) {
103 StatsMap::iterator item = stats_.find(renderer_id);
108 active_renderers_.insert(renderer_id);
111 std::set<int>::iterator elmt = inactive_renderers_.find(renderer_id);
122 void WebCacheManager::ObserveStats(int renderer_id,
124 StatsMap::iterator entry = stats_.find(renderer_id);
141 Source<RenderProcessHost>(RenderProcessHost::FromID(renderer_id)),