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 bool allowStoredCredentials() const; | 156 bool allowStoredCredentials() const; |
158 void setAllowStoredCredentials(bool allowCredentials); | 157 void setAllowStoredCredentials(bool allowCredentials); |
159 | 158 |
160 ResourceLoadPriority priority() const; | 159 ResourceLoadPriority priority() const; |
161 void setPriority(ResourceLoadPriority, int intraPriorityValue = 0); | 160 void setPriority(ResourceLoadPriority, int intraPriorityValue = 0); |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 bool m_checkForBrowserSideNavigation; | 332 bool m_checkForBrowserSideNavigation; |
334 double m_uiStartTime; | 333 double m_uiStartTime; |
335 bool m_isExternalRequest; | 334 bool m_isExternalRequest; |
336 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 335 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
337 bool m_followedRedirect; | 336 bool m_followedRedirect; |
338 }; | 337 }; |
339 | 338 |
340 } // namespace blink | 339 } // namespace blink |
341 | 340 |
342 #endif // ResourceRequest_h | 341 #endif // ResourceRequest_h |
OLD | NEW |