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

Unified Diff: net/spdy/spdy_session_test_util.cc

Issue 1239493005: Remove some legacy versions of StartsWith and EndsWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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
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 e817ce16670596990f532019b8e67225619e1070..36e4c57f9f126f3ceb22e6a71022c51a3e3752b8 100644
--- a/net/spdy/spdy_session_test_util.cc
+++ b/net/spdy/spdy_session_test_util.cc
@@ -28,9 +28,10 @@ void SpdySessionTestTaskObserver::WillProcessTask(
void SpdySessionTestTaskObserver::DidProcessTask(
const base::PendingTask& pending_task) {
- if (base::EndsWith(pending_task.posted_from.file_name(), file_name_, true) &&
+ if (base::EndsWith(pending_task.posted_from.file_name(), file_name_,
+ base::CompareCase::SENSITIVE) &&
base::EndsWith(pending_task.posted_from.function_name(), function_name_,
- true)) {
+ base::CompareCase::SENSITIVE)) {
++executed_count_;
}
}

Powered by Google App Engine
This is Rietveld 408576698