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

Side by Side Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRequest.h

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Address yhirano's comment #78 Created 3 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/modules/fetch/fetch_api_request.mojom ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebServiceWorkerRequest_h 5 #ifndef WebServiceWorkerRequest_h
6 #define WebServiceWorkerRequest_h 6 #define WebServiceWorkerRequest_h
7 7
8 #include "public/platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebPrivatePtr.h" 9 #include "public/platform/WebPrivatePtr.h"
10 #include "public/platform/WebReferrerPolicy.h" 10 #include "public/platform/WebReferrerPolicy.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 void SetMode(WebURLRequest::FetchRequestMode); 65 void SetMode(WebURLRequest::FetchRequestMode);
66 WebURLRequest::FetchRequestMode Mode() const; 66 WebURLRequest::FetchRequestMode Mode() const;
67 67
68 void SetIsMainResourceLoad(bool); 68 void SetIsMainResourceLoad(bool);
69 bool IsMainResourceLoad() const; 69 bool IsMainResourceLoad() const;
70 70
71 void SetCredentialsMode(WebURLRequest::FetchCredentialsMode); 71 void SetCredentialsMode(WebURLRequest::FetchCredentialsMode);
72 WebURLRequest::FetchCredentialsMode CredentialsMode() const; 72 WebURLRequest::FetchCredentialsMode CredentialsMode() const;
73 73
74 void SetIntegrity(const WebString&);
75 const WebString& Integrity() const;
76
74 void SetCacheMode(WebURLRequest::FetchRequestCacheMode); 77 void SetCacheMode(WebURLRequest::FetchRequestCacheMode);
75 WebURLRequest::FetchRequestCacheMode CacheMode() const; 78 WebURLRequest::FetchRequestCacheMode CacheMode() const;
76 79
77 void SetRedirectMode(WebURLRequest::FetchRedirectMode); 80 void SetRedirectMode(WebURLRequest::FetchRedirectMode);
78 WebURLRequest::FetchRedirectMode RedirectMode() const; 81 WebURLRequest::FetchRedirectMode RedirectMode() const;
79 82
80 void SetRequestContext(WebURLRequest::RequestContext); 83 void SetRequestContext(WebURLRequest::RequestContext);
81 WebURLRequest::RequestContext GetRequestContext() const; 84 WebURLRequest::RequestContext GetRequestContext() const;
82 85
83 void SetFrameType(WebURLRequest::FrameType); 86 void SetFrameType(WebURLRequest::FrameType);
(...skipping 11 matching lines...) Expand all
95 const Referrer& GetReferrer() const; 98 const Referrer& GetReferrer() const;
96 #endif 99 #endif
97 100
98 private: 101 private:
99 WebPrivatePtr<WebServiceWorkerRequestPrivate> private_; 102 WebPrivatePtr<WebServiceWorkerRequestPrivate> private_;
100 }; 103 };
101 104
102 } // namespace blink 105 } // namespace blink
103 106
104 #endif // WebServiceWorkerRequest_h 107 #endif // WebServiceWorkerRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/fetch/fetch_api_request.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698