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

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

Issue 384633002: Oilpan: add transition types to remaining Fetch and ServiceWorker objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another rebase Created 6 years, 5 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/modules/serviceworkers/FetchEvent.cpp ('k') | Source/modules/serviceworkers/FetchHeaderList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchHeaderList.h
diff --git a/Source/modules/serviceworkers/FetchHeaderList.h b/Source/modules/serviceworkers/FetchHeaderList.h
index 622fdab458ec42bf14f4f603d9b7378bfb2146ae..26fcd77d6f86ba70f3251fa86cb3c1834e5833cc 100644
--- a/Source/modules/serviceworkers/FetchHeaderList.h
+++ b/Source/modules/serviceworkers/FetchHeaderList.h
@@ -5,6 +5,7 @@
#ifndef FetchHeaderList_h
#define FetchHeaderList_h
+#include "platform/heap/Handle.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -14,12 +15,14 @@
namespace WebCore {
+class Header;
+
// http://fetch.spec.whatwg.org/#terminology-headers
-class FetchHeaderList FINAL : public RefCounted<FetchHeaderList> {
+class FetchHeaderList FINAL : public RefCountedWillBeGarbageCollectedFinalized<FetchHeaderList> {
public:
typedef std::pair<String, String> Header;
- static PassRefPtr<FetchHeaderList> create();
- PassRefPtr<FetchHeaderList> createCopy();
+ static PassRefPtrWillBeRawPtr<FetchHeaderList> create();
+ PassRefPtrWillBeRawPtr<FetchHeaderList> createCopy();
~FetchHeaderList();
void append(const String&, const String&);
@@ -42,6 +45,8 @@ public:
static bool isForbiddenHeaderName(const String&);
static bool isForbiddenResponseHeaderName(const String&);
+ void trace(Visitor*) { }
+
private:
FetchHeaderList();
Vector<OwnPtr<Header> > m_headerList;
« no previous file with comments | « Source/modules/serviceworkers/FetchEvent.cpp ('k') | Source/modules/serviceworkers/FetchHeaderList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698