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

Unified Diff: net/spdy/spdy_session_test_util.cc

Issue 1233453011: Revert of Remove some legacy versions of StartsWith and EndsWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « net/spdy/spdy_session.cc ('k') | net/tools/flip_server/mem_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_test_util.cc
diff --git a/net/spdy/spdy_session_test_util.cc b/net/spdy/spdy_session_test_util.cc
index 36e4c57f9f126f3ceb22e6a71022c51a3e3752b8..e817ce16670596990f532019b8e67225619e1070 100644
--- a/net/spdy/spdy_session_test_util.cc
+++ b/net/spdy/spdy_session_test_util.cc
@@ -28,10 +28,9 @@
void SpdySessionTestTaskObserver::DidProcessTask(
const base::PendingTask& pending_task) {
- if (base::EndsWith(pending_task.posted_from.file_name(), file_name_,
- base::CompareCase::SENSITIVE) &&
+ if (base::EndsWith(pending_task.posted_from.file_name(), file_name_, true) &&
base::EndsWith(pending_task.posted_from.function_name(), function_name_,
- base::CompareCase::SENSITIVE)) {
+ true)) {
++executed_count_;
}
}
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/tools/flip_server/mem_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698