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

Unified Diff: extensions/common/permissions/api_permission_set.cc

Issue 2236443003: extensions: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't add braces 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 | « extensions/common/message_bundle.cc ('k') | extensions/common/permissions/permissions_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/api_permission_set.cc
diff --git a/extensions/common/permissions/api_permission_set.cc b/extensions/common/permissions/api_permission_set.cc
index d1c7f325b95e7490ae4bdc1de74bc75304b87bb8..d5b14a083ef52db2477e5d31b3781f411359071f 100644
--- a/extensions/common/permissions/api_permission_set.cc
+++ b/extensions/common/permissions/api_permission_set.cc
@@ -275,7 +275,7 @@ PermissionIDSet PermissionIDSet::GetAllPermissionsWithIDs(
const std::set<APIPermission::ID>& permission_ids) const {
PermissionIDSet subset;
for (const auto& permission : permissions_) {
- if (ContainsKey(permission_ids, permission.id())) {
+ if (base::ContainsKey(permission_ids, permission.id())) {
subset.permissions_.insert(permission);
}
}
« no previous file with comments | « extensions/common/message_bundle.cc ('k') | extensions/common/permissions/permissions_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698