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

Unified Diff: content/browser/service_worker/service_worker_storage.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
Index: content/browser/service_worker/service_worker_storage.cc
diff --git a/content/browser/service_worker/service_worker_storage.cc b/content/browser/service_worker/service_worker_storage.cc
index 8cf5ce3f148112c568528b41e340aef8cf621e57..6c2d57ab5cfc1f8be429d8d3593a495c77b449b3 100644
--- a/content/browser/service_worker/service_worker_storage.cc
+++ b/content/browser/service_worker/service_worker_storage.cc
@@ -154,7 +154,7 @@ void ServiceWorkerStorage::FindRegistrationForDocument(
DCHECK_EQ(INITIALIZED, state_);
// See if there are any stored registrations for the origin.
- if (!ContainsKey(registered_origins_, document_url.GetOrigin())) {
+ if (!base::ContainsKey(registered_origins_, document_url.GetOrigin())) {
// Look for something currently being installed.
scoped_refptr<ServiceWorkerRegistration> installing_registration =
FindInstallingRegistrationForDocument(document_url);
@@ -208,7 +208,7 @@ void ServiceWorkerStorage::FindRegistrationForPattern(
DCHECK_EQ(INITIALIZED, state_);
// See if there are any stored registrations for the origin.
- if (!ContainsKey(registered_origins_, scope.GetOrigin())) {
+ if (!base::ContainsKey(registered_origins_, scope.GetOrigin())) {
// Look for something currently being installed.
scoped_refptr<ServiceWorkerRegistration> installing_registration =
FindInstallingRegistrationForPattern(scope);
@@ -262,7 +262,7 @@ void ServiceWorkerStorage::FindRegistrationForId(
DCHECK_EQ(INITIALIZED, state_);
// See if there are any stored registrations for the origin.
- if (!ContainsKey(registered_origins_, origin)) {
+ if (!base::ContainsKey(registered_origins_, origin)) {
// Look for something currently being installed.
scoped_refptr<ServiceWorkerRegistration> installing_registration =
FindInstallingRegistrationForId(registration_id);

Powered by Google App Engine
This is Rietveld 408576698