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

Unified Diff: Source/platform/network/ResourceResponse.h

Issue 99733002: Update HTTPHeaderMap wrappers to use AtomicString type for header values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 7 years 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 | « Source/platform/network/ResourceRequest.cpp ('k') | Source/platform/network/ResourceResponse.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceResponse.h
diff --git a/Source/platform/network/ResourceResponse.h b/Source/platform/network/ResourceResponse.h
index 97fac4cf217c598fd74f9eb0b90cc2bf721e5822..6944da3a96daa8be7fe940fd2e7bee6d426a91a4 100644
--- a/Source/platform/network/ResourceResponse.h
+++ b/Source/platform/network/ResourceResponse.h
@@ -85,10 +85,10 @@ public:
const AtomicString& httpStatusText() const;
void setHTTPStatusText(const AtomicString&);
- String httpHeaderField(const AtomicString& name) const;
- String httpHeaderField(const char* name) const;
- void setHTTPHeaderField(const AtomicString& name, const String& value);
- void addHTTPHeaderField(const AtomicString& name, const String& value);
+ AtomicString httpHeaderField(const AtomicString& name) const;
+ const AtomicString& httpHeaderField(const char* name) const;
+ void setHTTPHeaderField(const AtomicString& name, const AtomicString& value);
+ void addHTTPHeaderField(const AtomicString& name, const AtomicString& value);
void clearHTTPHeaderField(const AtomicString& name);
const HTTPHeaderMap& httpHeaderFields() const;
« no previous file with comments | « Source/platform/network/ResourceRequest.cpp ('k') | Source/platform/network/ResourceResponse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698