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

Unified Diff: chrome/browser/io_thread.cc

Issue 1172753003: Move LowerCaseEqualsASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util
Patch Set: Created 5 years, 6 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 | « chrome/browser/download/download_extensions.cc ('k') | chrome/browser/memory_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index cb9f69ef49b1f4688ca39fb6c031bdcd623e207d..42bbf7c872237b3f5354f040f83bb55cedf451b5 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -1036,17 +1036,17 @@ void IOThread::ConfigureSpdyGlobals(
}
if (spdy_trial_group.starts_with(kSpdyFieldTrialParametrizedPrefix)) {
bool spdy_enabled = false;
- if (LowerCaseEqualsASCII(
+ if (base::LowerCaseEqualsASCII(
GetVariationParam(spdy_trial_params, "enable_spdy31"), "true")) {
globals->next_protos.push_back(net::kProtoSPDY31);
spdy_enabled = true;
}
- if (LowerCaseEqualsASCII(
+ if (base::LowerCaseEqualsASCII(
GetVariationParam(spdy_trial_params, "enable_http2_14"), "true")) {
globals->next_protos.push_back(net::kProtoSPDY4_14);
spdy_enabled = true;
}
- if (LowerCaseEqualsASCII(
+ if (base::LowerCaseEqualsASCII(
GetVariationParam(spdy_trial_params, "enable_http2"), "true")) {
globals->next_protos.push_back(net::kProtoSPDY4);
spdy_enabled = true;
@@ -1412,7 +1412,7 @@ bool IOThread::ShouldEnableQuicForDataReductionProxy() {
// static
bool IOThread::ShouldDisableInsecureQuic(
const VariationParameters& quic_trial_params) {
- return LowerCaseEqualsASCII(
+ return base::LowerCaseEqualsASCII(
GetVariationParam(quic_trial_params, "disable_insecure_quic"),
"true");
}
@@ -1482,7 +1482,7 @@ double IOThread::GetAlternativeProtocolProbabilityThreshold(
// static
bool IOThread::ShouldQuicAlwaysRequireHandshakeConfirmation(
const VariationParameters& quic_trial_params) {
- return LowerCaseEqualsASCII(
+ return base::LowerCaseEqualsASCII(
GetVariationParam(quic_trial_params,
"always_require_handshake_confirmation"),
"true");
@@ -1491,7 +1491,7 @@ bool IOThread::ShouldQuicAlwaysRequireHandshakeConfirmation(
// static
bool IOThread::ShouldQuicDisableConnectionPooling(
const VariationParameters& quic_trial_params) {
- return LowerCaseEqualsASCII(
+ return base::LowerCaseEqualsASCII(
GetVariationParam(quic_trial_params, "disable_connection_pooling"),
"true");
}
@@ -1511,7 +1511,7 @@ float IOThread::GetQuicLoadServerInfoTimeoutSrttMultiplier(
// static
bool IOThread::ShouldQuicEnableConnectionRacing(
const VariationParameters& quic_trial_params) {
- return LowerCaseEqualsASCII(
+ return base::LowerCaseEqualsASCII(
GetVariationParam(quic_trial_params, "enable_connection_racing"),
"true");
}
@@ -1519,7 +1519,7 @@ bool IOThread::ShouldQuicEnableConnectionRacing(
// static
bool IOThread::ShouldQuicEnableNonBlockingIO(
const VariationParameters& quic_trial_params) {
- return LowerCaseEqualsASCII(
+ return base::LowerCaseEqualsASCII(
GetVariationParam(quic_trial_params, "enable_non_blocking_io"),
"true");
}
@@ -1527,7 +1527,7 @@ bool IOThread::ShouldQuicEnableNonBlockingIO(
// static
bool IOThread::ShouldQuicDisableDiskCache(
const VariationParameters& quic_trial_params) {
- return LowerCaseEqualsASCII(
+ return base::LowerCaseEqualsASCII(
GetVariationParam(quic_trial_params, "disable_disk_cache"), "true");
}
« no previous file with comments | « chrome/browser/download/download_extensions.cc ('k') | chrome/browser/memory_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698