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

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

Issue 516123004: Support ServiceWorker created request objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@minimaster
Patch Set: fix more builds Created 6 years, 3 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 | « Source/platform/exported/WebServiceWorkerRequest.cpp ('k') | public/platform/WebServiceWorkerRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/HTTPHeaderMap.h
diff --git a/Source/platform/network/HTTPHeaderMap.h b/Source/platform/network/HTTPHeaderMap.h
index f18cec05bd778e4e9dfc46a7482781a3ae7a97e0..94c59917dfe20c1c300ff052cd3b0332375c4022 100644
--- a/Source/platform/network/HTTPHeaderMap.h
+++ b/Source/platform/network/HTTPHeaderMap.h
@@ -64,7 +64,8 @@ public:
AddResult set(const AtomicString& k, const AtomicString& v) { return m_headers.set(k, v); }
AddResult add(const AtomicString& k, const AtomicString& v) { return m_headers.add(k, v); }
void remove(const AtomicString& k) { m_headers.remove(k); }
- bool operator!=(const HTTPHeaderMap &rhs) const { return m_headers != rhs.m_headers; }
+ bool operator!=(const HTTPHeaderMap& rhs) const { return m_headers != rhs.m_headers; }
+ bool operator==(const HTTPHeaderMap& rhs) const { return m_headers == rhs.m_headers; }
// Alternate accessors that are faster than converting the char* to AtomicString first.
bool contains(const char*) const;
« no previous file with comments | « Source/platform/exported/WebServiceWorkerRequest.cpp ('k') | public/platform/WebServiceWorkerRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698