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

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

Issue 399543002: [ServiceWorker] Make fetch() method better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated falken's comment 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/FetchManager.cpp ('k') | Source/modules/serviceworkers/FetchRequestData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchRequestData.h
diff --git a/Source/modules/serviceworkers/FetchRequestData.h b/Source/modules/serviceworkers/FetchRequestData.h
index a615c7702e779e3b7d70d949bc0e091bfcc4d63b..7b202177d0e4425795e05c5301316213acd871cf 100644
--- a/Source/modules/serviceworkers/FetchRequestData.h
+++ b/Source/modules/serviceworkers/FetchRequestData.h
@@ -36,7 +36,6 @@ public:
enum Tainting { BasicTainting, CORSTainting, OpaqueTainting };
class Referrer {
- WTF_MAKE_NONCOPYABLE(Referrer);
public:
Referrer() : m_type(ClientReferrer) { }
~Referrer() { }
@@ -68,6 +67,7 @@ public:
static PassRefPtrWillBeRawPtr<FetchRequestData> create(ExecutionContext*);
static PassRefPtrWillBeRawPtr<FetchRequestData> create(const blink::WebServiceWorkerRequest&);
PassRefPtrWillBeRawPtr<FetchRequestData> createRestrictedCopy(ExecutionContext*, PassRefPtr<SecurityOrigin>) const;
+ PassRefPtrWillBeRawPtr<FetchRequestData> createCopy() const;
~FetchRequestData();
void setMethod(AtomicString method) { m_method = method; }
« no previous file with comments | « Source/modules/serviceworkers/FetchManager.cpp ('k') | Source/modules/serviceworkers/FetchRequestData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698