Chromium Code Reviews| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 139 // Note that these will also set and clear, respectively, the | 139 // Note that these will also set and clear, respectively, the | 
| 140 // Suborigin header, if appropriate. | 140 // Suborigin header, if appropriate. | 
| 141 void setHTTPOrigin(PassRefPtr<SecurityOrigin>); | 141 void setHTTPOrigin(PassRefPtr<SecurityOrigin>); | 
| 142 void clearHTTPOrigin(); | 142 void clearHTTPOrigin(); | 
| 143 void addHTTPOriginIfNeeded(PassRefPtr<SecurityOrigin>); | 143 void addHTTPOriginIfNeeded(PassRefPtr<SecurityOrigin>); | 
| 144 | 144 | 
| 145 const AtomicString& httpUserAgent() const { return httpHeaderField(HTTPNames ::User_Agent); } | 145 const AtomicString& httpUserAgent() const { return httpHeaderField(HTTPNames ::User_Agent); } | 
| 146 void setHTTPUserAgent(const AtomicString& httpUserAgent) { setHTTPHeaderFiel d(HTTPNames::User_Agent, httpUserAgent); } | 146 void setHTTPUserAgent(const AtomicString& httpUserAgent) { setHTTPHeaderFiel d(HTTPNames::User_Agent, httpUserAgent); } | 
| 147 void clearHTTPUserAgent(); | 147 void clearHTTPUserAgent(); | 
| 148 | 148 | 
| 149 const AtomicString& httpAccept() const { return httpHeaderField(HTTPNames::A ccept); } | |
| 150 void setHTTPAccept(const AtomicString& httpAccept) { setHTTPHeaderField(HTTP Names::Accept, httpAccept); } | 149 void setHTTPAccept(const AtomicString& httpAccept) { setHTTPHeaderField(HTTP Names::Accept, httpAccept); } | 
| 
 
esprehn
2016/04/01 23:35:51
it's pretty weird that we're deleting the getter b
 
Nate Chapin
2016/04/01 23:37:15
Agreed. I hope to remove it when I resolve the TOD
 
 | |
| 151 | 150 | 
| 152 EncodedFormData* httpBody() const; | 151 EncodedFormData* httpBody() const; | 
| 153 void setHTTPBody(PassRefPtr<EncodedFormData>); | 152 void setHTTPBody(PassRefPtr<EncodedFormData>); | 
| 154 | 153 | 
| 155 bool allowStoredCredentials() const; | 154 bool allowStoredCredentials() const; | 
| 156 void setAllowStoredCredentials(bool allowCredentials); | 155 void setAllowStoredCredentials(bool allowCredentials); | 
| 157 | 156 | 
| 158 ResourceLoadPriority priority() const; | 157 ResourceLoadPriority priority() const; | 
| 159 void setPriority(ResourceLoadPriority, int intraPriorityValue = 0); | 158 void setPriority(ResourceLoadPriority, int intraPriorityValue = 0); | 
| 160 | 159 | 
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 336 bool m_checkForBrowserSideNavigation; | 335 bool m_checkForBrowserSideNavigation; | 
| 337 double m_uiStartTime; | 336 double m_uiStartTime; | 
| 338 bool m_isExternalRequest; | 337 bool m_isExternalRequest; | 
| 339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 338 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 
| 340 bool m_followedRedirect; | 339 bool m_followedRedirect; | 
| 341 }; | 340 }; | 
| 342 | 341 | 
| 343 } // namespace blink | 342 } // namespace blink | 
| 344 | 343 | 
| 345 #endif // ResourceRequest_h | 344 #endif // ResourceRequest_h | 
| OLD | NEW |