Searched refs:tactic (Results 1 - 3 of 3) sorted by relevance
/external/chromium/chrome/browser/renderer_host/ |
H A D | web_cache_manager.h | 109 // usage statistics. Each tactic specifies the function that maps usage 112 // Determining a resource allocation strategy amounts to picking a tactic 143 // Get the amount of memory that would be required to implement |tactic| 144 // using the specified allocation tactic. This function defines the 146 static size_t GetSize(AllocationTactic tactic, 163 // |tactic| and add the result to |strategy|. Any |extra_bytes_to_allocate| 166 AllocationTactic tactic,
|
H A D | web_cache_manager.cc | 186 size_t WebCacheManager::GetSize(AllocationTactic tactic, argument 188 switch (tactic) { 205 NOTREACHED() << "Unknown cache allocation tactic"; 221 // Give up if we don't have enough space to use this tactic. 252 AllocationTactic tactic, 269 // Add in the space required to implement |tactic|. 272 cache_size += GetSize(tactic, elmt->second); 251 AddToStrategy(const std::set<int>& renderers, AllocationTactic tactic, size_t extra_bytes_to_allocate, AllocationStrategy* strategy) argument
|
H A D | web_cache_manager_unittest.cc | 54 static size_t GetSize(int tactic, argument 57 static_cast<WebCacheManager::AllocationTactic>(tactic), stats); 74 int tactic, 78 static_cast<WebCacheManager::AllocationTactic>(tactic), 72 AddToStrategy(WebCacheManager* h, std::set<int> renderers, int tactic, size_t extra_bytes_to_allocate, std::list< std::pair<int,size_t> >* strategy) argument
|
Completed in 39 milliseconds