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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 PassOwnPtr<CrossThreadResourceRequestData> copyData() const; | 95 PassOwnPtr<CrossThreadResourceRequestData> copyData() const; |
96 | 96 |
97 bool isNull() const; | 97 bool isNull() const; |
98 bool isEmpty() const; | 98 bool isEmpty() const; |
99 | 99 |
100 const KURL& url() const; | 100 const KURL& url() const; |
101 void setURL(const KURL& url); | 101 void setURL(const KURL& url); |
102 | 102 |
103 void removeCredentials(); | 103 void removeCredentials(); |
104 | 104 |
105 ResourceRequestCachePolicy cachePolicy() const; | 105 ResourceRequestCachePolicy getCachePolicy() const; |
106 void setCachePolicy(ResourceRequestCachePolicy cachePolicy); | 106 void setCachePolicy(ResourceRequestCachePolicy cachePolicy); |
107 | 107 |
108 double timeoutInterval() const; // May return 0 when using platform default. | 108 double timeoutInterval() const; // May return 0 when using platform default. |
109 void setTimeoutInterval(double timeoutInterval); | 109 void setTimeoutInterval(double timeoutInterval); |
110 | 110 |
111 const KURL& firstPartyForCookies() const; | 111 const KURL& firstPartyForCookies() const; |
112 void setFirstPartyForCookies(const KURL& firstPartyForCookies); | 112 void setFirstPartyForCookies(const KURL& firstPartyForCookies); |
113 | 113 |
114 PassRefPtr<SecurityOrigin> requestorOrigin() const; | 114 PassRefPtr<SecurityOrigin> requestorOrigin() const; |
115 void setRequestorOrigin(PassRefPtr<SecurityOrigin>); | 115 void setRequestorOrigin(PassRefPtr<SecurityOrigin>); |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 bool m_checkForBrowserSideNavigation; | 336 bool m_checkForBrowserSideNavigation; |
337 double m_uiStartTime; | 337 double m_uiStartTime; |
338 bool m_originatesFromReservedIPRange; | 338 bool m_originatesFromReservedIPRange; |
339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
340 bool m_followedRedirect; | 340 bool m_followedRedirect; |
341 }; | 341 }; |
342 | 342 |
343 } // namespace blink | 343 } // namespace blink |
344 | 344 |
345 #endif // ResourceRequest_h | 345 #endif // ResourceRequest_h |
OLD | NEW |