| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * | 10 * |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 static PassRefPtrWillBeRawPtr<XHRReplayData> create(ExecutionContext*, const
AtomicString& method, const KURL&, bool async, PassRefPtr<FormData>, bool inclu
deCredentials); | 56 static PassRefPtrWillBeRawPtr<XHRReplayData> create(ExecutionContext*, const
AtomicString& method, const KURL&, bool async, PassRefPtr<FormData>, bool inclu
deCredentials); |
| 57 | 57 |
| 58 void addHeader(const AtomicString& key, const AtomicString& value); | 58 void addHeader(const AtomicString& key, const AtomicString& value); |
| 59 const AtomicString& method() const { return m_method; } | 59 const AtomicString& method() const { return m_method; } |
| 60 const KURL& url() const { return m_url; } | 60 const KURL& url() const { return m_url; } |
| 61 bool async() const { return m_async; } | 61 bool async() const { return m_async; } |
| 62 PassRefPtr<FormData> formData() const { return m_formData; } | 62 PassRefPtr<FormData> formData() const { return m_formData; } |
| 63 const HTTPHeaderMap& headers() const { return m_headers; } | 63 const HTTPHeaderMap& headers() const { return m_headers; } |
| 64 bool includeCredentials() const { return m_includeCredentials; } | 64 bool includeCredentials() const { return m_includeCredentials; } |
| 65 | 65 |
| 66 void trace(Visitor*) { } | 66 virtual void trace(Visitor*) { } |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 XHRReplayData(ExecutionContext*, const AtomicString& method, const KURL&, bo
ol async, PassRefPtr<FormData>, bool includeCredentials); | 69 XHRReplayData(ExecutionContext*, const AtomicString& method, const KURL&, bo
ol async, PassRefPtr<FormData>, bool includeCredentials); |
| 70 | 70 |
| 71 AtomicString m_method; | 71 AtomicString m_method; |
| 72 KURL m_url; | 72 KURL m_url; |
| 73 bool m_async; | 73 bool m_async; |
| 74 RefPtr<FormData> m_formData; | 74 RefPtr<FormData> m_formData; |
| 75 HTTPHeaderMap m_headers; | 75 HTTPHeaderMap m_headers; |
| 76 bool m_includeCredentials; | 76 bool m_includeCredentials; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 ResourceDataMap m_requestIdToResourceDataMap; | 184 ResourceDataMap m_requestIdToResourceDataMap; |
| 185 size_t m_contentSize; | 185 size_t m_contentSize; |
| 186 size_t m_maximumResourcesContentSize; | 186 size_t m_maximumResourcesContentSize; |
| 187 size_t m_maximumSingleResourceContentSize; | 187 size_t m_maximumSingleResourceContentSize; |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace blink | 190 } // namespace blink |
| 191 | 191 |
| 192 | 192 |
| 193 #endif // !defined(NetworkResourcesData_h) | 193 #endif // !defined(NetworkResourcesData_h) |
| OLD | NEW |