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

Unified Diff: content/public/test/mock_special_storage_policy.cc

Issue 2228403003: content: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
« no previous file with comments | « content/public/test/download_test_observer.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_special_storage_policy.cc
diff --git a/content/public/test/mock_special_storage_policy.cc b/content/public/test/mock_special_storage_policy.cc
index 08475360293d178a9fc83461aa0f665624247323..f3b3c02254cd3d0636a1f6ed3c71b381b1049045 100644
--- a/content/public/test/mock_special_storage_policy.cc
+++ b/content/public/test/mock_special_storage_policy.cc
@@ -13,25 +13,25 @@ MockSpecialStoragePolicy::MockSpecialStoragePolicy()
}
bool MockSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
- return ContainsKey(protected_, origin);
+ return base::ContainsKey(protected_, origin);
}
bool MockSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
if (all_unlimited_)
return true;
- return ContainsKey(unlimited_, origin);
+ return base::ContainsKey(unlimited_, origin);
}
bool MockSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
- return ContainsKey(session_only_, origin);
+ return base::ContainsKey(session_only_, origin);
}
bool MockSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
- return ContainsKey(can_query_disk_size_, origin);
+ return base::ContainsKey(can_query_disk_size_, origin);
}
bool MockSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
- return ContainsKey(isolated_, origin);
+ return base::ContainsKey(isolated_, origin);
}
bool MockSpecialStoragePolicy::HasSessionOnlyOrigins() {
@@ -39,7 +39,7 @@ bool MockSpecialStoragePolicy::HasSessionOnlyOrigins() {
}
bool MockSpecialStoragePolicy::IsStorageDurable(const GURL& origin) {
- return ContainsKey(durable_, origin);
+ return base::ContainsKey(durable_, origin);
}
MockSpecialStoragePolicy::~MockSpecialStoragePolicy() {}
« no previous file with comments | « content/public/test/download_test_observer.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698