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

Unified Diff: components/invalidation/impl/registration_manager.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site 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: components/invalidation/impl/registration_manager.cc
diff --git a/components/invalidation/impl/registration_manager.cc b/components/invalidation/impl/registration_manager.cc
index a48b895ad1ce803018b834097b3ce430ac2ac12c..a2d3c3e5303fa63bbc31d768ff6d57ffca8bfc7a 100644
--- a/components/invalidation/impl/registration_manager.cc
+++ b/components/invalidation/impl/registration_manager.cc
@@ -65,7 +65,7 @@ RegistrationManager::RegistrationManager(
RegistrationManager::~RegistrationManager() {
DCHECK(CalledOnValidThread());
- STLDeleteValues(&registration_statuses_);
+ base::STLDeleteValues(&registration_statuses_);
}
ObjectIdSet RegistrationManager::UpdateRegisteredIds(const ObjectIdSet& ids) {
@@ -86,7 +86,7 @@ ObjectIdSet RegistrationManager::UpdateRegisteredIds(const ObjectIdSet& ids) {
for (ObjectIdSet::const_iterator it = to_register.begin();
it != to_register.end(); ++it) {
- if (!ContainsKey(registration_statuses_, *it)) {
+ if (!base::ContainsKey(registration_statuses_, *it)) {
registration_statuses_.insert(
std::make_pair(*it, new RegistrationStatus(*it, this)));
}
« no previous file with comments | « components/history/core/browser/web_history_service.cc ('k') | components/invalidation/impl/registration_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698