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

Unified Diff: ios/net/clients/crn_forwarding_network_client_factory_unittest.mm

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 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 | « ios/chrome/browser/experimental_flags.mm ('k') | media/base/android/media_codec_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/clients/crn_forwarding_network_client_factory_unittest.mm
diff --git a/ios/net/clients/crn_forwarding_network_client_factory_unittest.mm b/ios/net/clients/crn_forwarding_network_client_factory_unittest.mm
index 4364cdb7bb3af5b7b3bc2e50e010ce2626b11670..89c713bddc77a1d93bb7cc257ee5afa03a32066f 100644
--- a/ios/net/clients/crn_forwarding_network_client_factory_unittest.mm
+++ b/ios/net/clients/crn_forwarding_network_client_factory_unittest.mm
@@ -142,7 +142,8 @@ TEST_F(ForwardingNetworkClientFactoryTest, TestSubclassImplementations) {
for (NSInteger i = 0; i < class_count; i++) {
std::string class_name = class_getName(classes[i]);
// Skip the test classes defined above.
- if (base::StartsWithASCII(class_name, "TestFactory", false))
+ if (base::StartsWith(class_name, "TestFactory",
+ base::CompareCase::INSENSITIVE_ASCII))
continue;
Class subclass_super = classes[i];
« no previous file with comments | « ios/chrome/browser/experimental_flags.mm ('k') | media/base/android/media_codec_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698