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

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

Issue 2516353002: Introduce url_list to the Response scheme of CacheStorage. (Closed)
Patch Set: implicit conversion WebURL <-> GURL and WebVector <- vector Created 4 years 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 26 matching lines...) Expand all
37 assign(other); 37 assign(other);
38 } 38 }
39 WebServiceWorkerResponse& operator=(const WebServiceWorkerResponse& other) { 39 WebServiceWorkerResponse& operator=(const WebServiceWorkerResponse& other) {
40 assign(other); 40 assign(other);
41 return *this; 41 return *this;
42 } 42 }
43 43
44 void reset(); 44 void reset();
45 void assign(const WebServiceWorkerResponse&); 45 void assign(const WebServiceWorkerResponse&);
46 46
47 void setURL(const WebURL&); 47 void setURLList(const WebVector<WebURL>&);
48 WebURL url() const; 48 const WebVector<WebURL>& urlList() const;
49 49
50 void setStatus(unsigned short); 50 void setStatus(unsigned short);
51 unsigned short status() const; 51 unsigned short status() const;
52 52
53 void setStatusText(const WebString&); 53 void setStatusText(const WebString&);
54 WebString statusText() const; 54 WebString statusText() const;
55 55
56 void setResponseType(WebServiceWorkerResponseType); 56 void setResponseType(WebServiceWorkerResponseType);
57 WebServiceWorkerResponseType responseType() const; 57 WebServiceWorkerResponseType responseType() const;
58 58
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 PassRefPtr<BlobDataHandle> blobDataHandle() const; 93 PassRefPtr<BlobDataHandle> blobDataHandle() const;
94 #endif 94 #endif
95 95
96 private: 96 private:
97 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private; 97 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private;
98 }; 98 };
99 99
100 } // namespace blink 100 } // namespace blink
101 101
102 #endif // WebServiceWorkerResponse_h 102 #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