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

Unified Diff: Source/modules/serviceworkers/Headers.h

Issue 329853012: [ServiceWorker] Make Request class better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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: Source/modules/serviceworkers/Headers.h
diff --git a/Source/modules/serviceworkers/Headers.h b/Source/modules/serviceworkers/Headers.h
index c4ffd4449d3fc8d2c44788d4c34578fac030a9a8..1f8e67dc7d7243e51c98d25f35e315c853ff41f3 100644
--- a/Source/modules/serviceworkers/Headers.h
+++ b/Source/modules/serviceworkers/Headers.h
@@ -47,15 +47,15 @@ public:
void setGuard(Guard guard) { m_guard = guard; }
Guard guard() const { return m_guard; }
+ void fillWith(const Headers*, ExceptionState&);
yhirano 2014/07/02 01:53:07 Please describe that |this| must be cleared before
horo 2014/07/02 03:33:04 Done.
+ void fillWith(const Dictionary&, ExceptionState&);
+
private:
Headers();
// Shares the FetchHeaderList. Called when creating a Request or Response.
explicit Headers(FetchHeaderList*);
void forEachInternal(PassOwnPtr<HeadersForEachCallback>, ScriptValue*);
- void fillWith(const Headers*, ExceptionState&);
- void fillWith(const Dictionary&, ExceptionState&);
-
RefPtr<FetchHeaderList> m_headerList;
Guard m_guard;
};

Powered by Google App Engine
This is Rietveld 408576698