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

Unified Diff: Source/platform/network/HTTPRequest.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/HTTPParsers.cpp ('k') | Source/platform/network/HTTPRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/HTTPRequest.h
diff --git a/Source/platform/network/HTTPRequest.h b/Source/platform/network/HTTPRequest.h
index 7d80909e3018af03e67a783ad5fd7adcc6712e00..2f4b4272ac97e8370eb8724621b9d410f7556352 100644
--- a/Source/platform/network/HTTPRequest.h
+++ b/Source/platform/network/HTTPRequest.h
@@ -58,8 +58,8 @@ public:
const Vector<unsigned char>& body() const { return m_body; }
const HTTPHeaderMap& headerFields() const { return m_headerFields; }
- void addHeaderField(const AtomicString& name, const String& value) { m_headerFields.add(name, value); }
- void addHeaderField(const char* name, const String& value) { m_headerFields.add(name, value); }
+ void addHeaderField(const AtomicString& name, const AtomicString& value) { m_headerFields.add(name, value); }
+ void addHeaderField(const char* name, const AtomicString& value) { m_headerFields.add(name, value); }
protected:
HTTPRequest();
« no previous file with comments | « Source/platform/network/HTTPParsers.cpp ('k') | Source/platform/network/HTTPRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698