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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp
index cd7d761ae5a1806cc807dd520c749e5aaa0726b4..4018d231ba380d8c4c045171cc09f53bc30ae6db 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp
@@ -348,16 +348,16 @@ void ResourceResponse::UpdateHeaderParsedState(const AtomicString& name) {
static const char kExpiresHeader[] = "expires";
static const char kLastModifiedHeader[] = "last-modified";
- if (EqualIgnoringCase(name, kAgeHeader))
+ if (DeprecatedEqualIgnoringCase(name, kAgeHeader))
have_parsed_age_header_ = false;
- else if (EqualIgnoringCase(name, kCacheControlHeader) ||
- EqualIgnoringCase(name, kPragmaHeader))
+ else if (DeprecatedEqualIgnoringCase(name, kCacheControlHeader) ||
+ DeprecatedEqualIgnoringCase(name, kPragmaHeader))
cache_control_header_ = CacheControlHeader();
- else if (EqualIgnoringCase(name, kDateHeader))
+ else if (DeprecatedEqualIgnoringCase(name, kDateHeader))
have_parsed_date_header_ = false;
- else if (EqualIgnoringCase(name, kExpiresHeader))
+ else if (DeprecatedEqualIgnoringCase(name, kExpiresHeader))
have_parsed_expires_header_ = false;
- else if (EqualIgnoringCase(name, kLastModifiedHeader))
+ else if (DeprecatedEqualIgnoringCase(name, kLastModifiedHeader))
have_parsed_last_modified_header_ = false;
}
@@ -517,7 +517,7 @@ bool ResourceResponse::IsAttachment() const {
if (loc != kNotFound)
value = value.Left(loc);
value = value.StripWhiteSpace();
- return EqualIgnoringCase(value, kAttachmentString);
+ return DeprecatedEqualIgnoringCase(value, kAttachmentString);
}
AtomicString ResourceResponse::HttpContentType() const {

Powered by Google App Engine
This is Rietveld 408576698