OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // Note that these will also set and clear, respectively, the | 141 // Note that these will also set and clear, respectively, the |
142 // Suborigin header, if appropriate. | 142 // Suborigin header, if appropriate. |
143 void setHTTPOrigin(PassRefPtr<SecurityOrigin>); | 143 void setHTTPOrigin(PassRefPtr<SecurityOrigin>); |
144 void clearHTTPOrigin(); | 144 void clearHTTPOrigin(); |
145 void addHTTPOriginIfNeeded(PassRefPtr<SecurityOrigin>); | 145 void addHTTPOriginIfNeeded(PassRefPtr<SecurityOrigin>); |
146 | 146 |
147 const AtomicString& httpUserAgent() const { return httpHeaderField(HTTPNames
::User_Agent); } | 147 const AtomicString& httpUserAgent() const { return httpHeaderField(HTTPNames
::User_Agent); } |
148 void setHTTPUserAgent(const AtomicString& httpUserAgent) { setHTTPHeaderFiel
d(HTTPNames::User_Agent, httpUserAgent); } | 148 void setHTTPUserAgent(const AtomicString& httpUserAgent) { setHTTPHeaderFiel
d(HTTPNames::User_Agent, httpUserAgent); } |
149 void clearHTTPUserAgent(); | 149 void clearHTTPUserAgent(); |
150 | 150 |
151 const AtomicString& httpAccept() const { return httpHeaderField(HTTPNames::A
ccept); } | |
152 void setHTTPAccept(const AtomicString& httpAccept) { setHTTPHeaderField(HTTP
Names::Accept, httpAccept); } | 151 void setHTTPAccept(const AtomicString& httpAccept) { setHTTPHeaderField(HTTP
Names::Accept, httpAccept); } |
153 | 152 |
154 EncodedFormData* httpBody() const; | 153 EncodedFormData* httpBody() const; |
155 void setHTTPBody(PassRefPtr<EncodedFormData>); | 154 void setHTTPBody(PassRefPtr<EncodedFormData>); |
156 | 155 |
157 EncodedFormData* attachedCredential() const; | 156 EncodedFormData* attachedCredential() const; |
158 void setAttachedCredential(PassRefPtr<EncodedFormData>); | 157 void setAttachedCredential(PassRefPtr<EncodedFormData>); |
159 | 158 |
160 bool allowStoredCredentials() const; | 159 bool allowStoredCredentials() const; |
161 void setAllowStoredCredentials(bool allowCredentials); | 160 void setAllowStoredCredentials(bool allowCredentials); |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 bool m_checkForBrowserSideNavigation; | 337 bool m_checkForBrowserSideNavigation; |
339 double m_uiStartTime; | 338 double m_uiStartTime; |
340 bool m_isExternalRequest; | 339 bool m_isExternalRequest; |
341 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 340 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
342 bool m_followedRedirect; | 341 bool m_followedRedirect; |
343 }; | 342 }; |
344 | 343 |
345 } // namespace blink | 344 } // namespace blink |
346 | 345 |
347 #endif // ResourceRequest_h | 346 #endif // ResourceRequest_h |
OLD | NEW |