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

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

Issue 1965013002: Implement headers attributes in ForeignFetchResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using instead of typedef Created 4 years, 7 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/WebURLResponse.h ('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 WebServiceWorkerResponse_h 5 #ifndef WebServiceWorkerResponse_h
6 #define WebServiceWorkerResponse_h 6 #define WebServiceWorkerResponse_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/WebString.h" 10 #include "public/platform/WebString.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Provides a more detailed error when status() is zero. 75 // Provides a more detailed error when status() is zero.
76 void setError(WebServiceWorkerResponseError); 76 void setError(WebServiceWorkerResponseError);
77 WebServiceWorkerResponseError error() const; 77 WebServiceWorkerResponseError error() const;
78 78
79 void setResponseTime(int64_t); 79 void setResponseTime(int64_t);
80 int64_t responseTime() const; 80 int64_t responseTime() const;
81 81
82 void setCacheStorageCacheName(const WebString&); 82 void setCacheStorageCacheName(const WebString&);
83 WebString cacheStorageCacheName() const; 83 WebString cacheStorageCacheName() const;
84 84
85 void setCorsExposedHeaderNames(const WebVector<WebString>&);
86 WebVector<WebString> corsExposedHeaderNames() const;
87
85 #if INSIDE_BLINK 88 #if INSIDE_BLINK
86 const HTTPHeaderMap& headers() const; 89 const HTTPHeaderMap& headers() const;
87 90
88 void setBlobDataHandle(PassRefPtr<BlobDataHandle>); 91 void setBlobDataHandle(PassRefPtr<BlobDataHandle>);
89 PassRefPtr<BlobDataHandle> blobDataHandle() const; 92 PassRefPtr<BlobDataHandle> blobDataHandle() const;
90 #endif 93 #endif
91 94
92 private: 95 private:
93 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private; 96 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private;
94 }; 97 };
95 98
96 } // namespace blink 99 } // namespace blink
97 100
98 #endif // WebServiceWorkerResponse_h 101 #endif // WebServiceWorkerResponse_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebURLResponse.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698