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

Unified Diff: chrome/browser/predictors/resource_prefetcher_manager.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change Created 4 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
Index: chrome/browser/predictors/resource_prefetcher_manager.cc
diff --git a/chrome/browser/predictors/resource_prefetcher_manager.cc b/chrome/browser/predictors/resource_prefetcher_manager.cc
index 822935ea857f2ed8e09f4e2624ce7d1f4797bd27..69c8bfc165ff0784f46decd17e3b466021cc451e 100644
--- a/chrome/browser/predictors/resource_prefetcher_manager.cc
+++ b/chrome/browser/predictors/resource_prefetcher_manager.cc
@@ -46,8 +46,8 @@ void ResourcePrefetcherManager::ShutdownOnUIThread() {
void ResourcePrefetcherManager::ShutdownOnIOThread() {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
- STLDeleteContainerPairSecondPointers(prefetcher_map_.begin(),
- prefetcher_map_.end());
+ base::STLDeleteContainerPairSecondPointers(prefetcher_map_.begin(),
+ prefetcher_map_.end());
}
void ResourcePrefetcherManager::MaybeAddPrefetch(
@@ -59,7 +59,7 @@ void ResourcePrefetcherManager::MaybeAddPrefetch(
// Don't add a duplicate prefetch for the same host or URL.
std::string key = key_type == PREFETCH_KEY_TYPE_HOST ?
navigation_id.main_frame_url.host() : navigation_id.main_frame_url.spec();
- if (ContainsKey(prefetcher_map_, key))
+ if (base::ContainsKey(prefetcher_map_, key))
return;
ResourcePrefetcher* prefetcher = new ResourcePrefetcher(
« no previous file with comments | « chrome/browser/predictors/resource_prefetcher.cc ('k') | chrome/browser/printing/background_printing_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698