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

Unified Diff: chrome/browser/background_sync/background_sync_controller_impl.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/background_sync/background_sync_controller_impl.cc
diff --git a/chrome/browser/background_sync/background_sync_controller_impl.cc b/chrome/browser/background_sync/background_sync_controller_impl.cc
index d5b8e67ced7e6469d2885387fbb5fb9a60852744..3720cff5f06715b24f3f7e61c230667d660e180d 100644
--- a/chrome/browser/background_sync/background_sync_controller_impl.cc
+++ b/chrome/browser/background_sync/background_sync_controller_impl.cc
@@ -54,7 +54,7 @@ void BackgroundSyncControllerImpl::GetParameterOverrides(
parameters->disable = true;
}
- if (ContainsKey(field_params, kMaxAttemptsParameterName)) {
+ if (base::ContainsKey(field_params, kMaxAttemptsParameterName)) {
int max_attempts;
if (base::StringToInt(field_params[kMaxAttemptsParameterName],
&max_attempts)) {
@@ -62,7 +62,7 @@ void BackgroundSyncControllerImpl::GetParameterOverrides(
}
}
- if (ContainsKey(field_params, kInitialRetryParameterName)) {
+ if (base::ContainsKey(field_params, kInitialRetryParameterName)) {
int initial_retry_delay_sec;
if (base::StringToInt(field_params[kInitialRetryParameterName],
&initial_retry_delay_sec)) {
@@ -71,7 +71,7 @@ void BackgroundSyncControllerImpl::GetParameterOverrides(
}
}
- if (ContainsKey(field_params, kRetryDelayFactorParameterName)) {
+ if (base::ContainsKey(field_params, kRetryDelayFactorParameterName)) {
int retry_delay_factor;
if (base::StringToInt(field_params[kRetryDelayFactorParameterName],
&retry_delay_factor)) {
@@ -79,7 +79,7 @@ void BackgroundSyncControllerImpl::GetParameterOverrides(
}
}
- if (ContainsKey(field_params, kMinSyncRecoveryTimeName)) {
+ if (base::ContainsKey(field_params, kMinSyncRecoveryTimeName)) {
int min_sync_recovery_time_sec;
if (base::StringToInt(field_params[kMinSyncRecoveryTimeName],
&min_sync_recovery_time_sec)) {
@@ -88,7 +88,7 @@ void BackgroundSyncControllerImpl::GetParameterOverrides(
}
}
- if (ContainsKey(field_params, kMaxSyncEventDurationName)) {
+ if (base::ContainsKey(field_params, kMaxSyncEventDurationName)) {
int max_sync_event_duration_sec;
if (base::StringToInt(field_params[kMaxSyncEventDurationName],
&max_sync_event_duration_sec)) {

Powered by Google App Engine
This is Rietveld 408576698