OLD | NEW |
---|---|
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 "WebCommon.h" | 8 #include "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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
47 | 47 |
48 void setHeader(const WebString& key, const WebString& value); | 48 void setHeader(const WebString& key, const WebString& value); |
49 WebVector<WebString> getHeaderKeys() const; | 49 WebVector<WebString> getHeaderKeys() const; |
50 WebString getHeader(const WebString& key) const; | 50 WebString getHeader(const WebString& key) const; |
51 | 51 |
52 #if INSIDE_BLINK | 52 #if INSIDE_BLINK |
53 void setHeaders(const HashMap<String, String>&); | 53 void setHeaders(const HashMap<String, String>&); |
54 const HashMap<String, String>& headers() const; | 54 const HashMap<String, String>& headers() const; |
55 #endif | 55 #endif |
56 | 56 |
57 // FIXME: Eventually this should have additional methods such as for blob. | 57 void setBlobUUID(const WebString&); |
michaeln1
2014/05/30 20:09:35
maybe put a setBlobDataHandle(xxx) setter in the I
| |
58 WebString blobUUID() const; | |
58 | 59 |
59 private: | 60 private: |
60 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private; | 61 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private; |
61 }; | 62 }; |
62 | 63 |
63 } // namespace blink | 64 } // namespace blink |
64 | 65 |
65 #endif // WebServiceWorkerResponse_h | 66 #endif // WebServiceWorkerResponse_h |
OLD | NEW |