| 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 Response_h | 5 #ifndef Response_h |
| 6 #define Response_h | 6 #define Response_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "modules/serviceworkers/Body.h" | 10 #include "modules/serviceworkers/Body.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 Response* clone() const; | 47 Response* clone() const; |
| 48 | 48 |
| 49 void populateWebServiceWorkerResponse(WebServiceWorkerResponse&); | 49 void populateWebServiceWorkerResponse(WebServiceWorkerResponse&); |
| 50 | 50 |
| 51 virtual void trace(Visitor*) OVERRIDE; | 51 virtual void trace(Visitor*) OVERRIDE; |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 explicit Response(const Response&); | 54 explicit Response(const Response&); |
| 55 explicit Response(ExecutionContext*); | 55 explicit Response(ExecutionContext*); |
| 56 Response(ExecutionContext*, FetchResponseData*); | 56 Response(ExecutionContext*, FetchResponseData*); |
| 57 Response(ExecutionContext*, const WebServiceWorkerResponse&); | |
| 58 | 57 |
| 59 virtual PassRefPtr<BlobDataHandle> blobDataHandle() OVERRIDE; | 58 virtual PassRefPtr<BlobDataHandle> blobDataHandle() OVERRIDE; |
| 60 | 59 |
| 61 const Member<FetchResponseData> m_response; | 60 const Member<FetchResponseData> m_response; |
| 62 const Member<Headers> m_headers; | 61 const Member<Headers> m_headers; |
| 63 }; | 62 }; |
| 64 | 63 |
| 65 } // namespace blink | 64 } // namespace blink |
| 66 | 65 |
| 67 #endif // Response_h | 66 #endif // Response_h |
| OLD | NEW |