Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 158 | 158 |
| 159 BLINK_PLATFORM_EXPORT bool isNull() const; | 159 BLINK_PLATFORM_EXPORT bool isNull() const; |
| 160 | 160 |
| 161 BLINK_PLATFORM_EXPORT WebURL url() const; | 161 BLINK_PLATFORM_EXPORT WebURL url() const; |
| 162 BLINK_PLATFORM_EXPORT void setURL(const WebURL&); | 162 BLINK_PLATFORM_EXPORT void setURL(const WebURL&); |
| 163 | 163 |
| 164 // Used to implement third-party cookie blocking. | 164 // Used to implement third-party cookie blocking. |
| 165 BLINK_PLATFORM_EXPORT WebURL firstPartyForCookies() const; | 165 BLINK_PLATFORM_EXPORT WebURL firstPartyForCookies() const; |
| 166 BLINK_PLATFORM_EXPORT void setFirstPartyForCookies(const WebURL&); | 166 BLINK_PLATFORM_EXPORT void setFirstPartyForCookies(const WebURL&); |
| 167 | 167 |
| 168 // The origin of the execution context which originated the request. Used to | |
| 169 // implement First-Party-Only cookie restrictions. | |
| 170 BLINK_PLATFORM_EXPORT WebURL requestorURL() const; | |
|
jochen (gone - plz use gerrit)
2015/04/13 13:07:02
does the full URL actually matter (i.e. do you nee
Mike West
2015/04/21 12:46:23
Origin would be fine, now that you mention it. I'l
| |
| 171 BLINK_PLATFORM_EXPORT void setRequestorURL(const WebURL&); | |
| 172 | |
| 168 // Controls whether user name, password, and cookies may be sent with the | 173 // Controls whether user name, password, and cookies may be sent with the |
| 169 // request. (If false, this overrides allowCookies.) | 174 // request. (If false, this overrides allowCookies.) |
| 170 BLINK_PLATFORM_EXPORT bool allowStoredCredentials() const; | 175 BLINK_PLATFORM_EXPORT bool allowStoredCredentials() const; |
| 171 BLINK_PLATFORM_EXPORT void setAllowStoredCredentials(bool); | 176 BLINK_PLATFORM_EXPORT void setAllowStoredCredentials(bool); |
| 172 | 177 |
| 173 BLINK_PLATFORM_EXPORT CachePolicy cachePolicy() const; | 178 BLINK_PLATFORM_EXPORT CachePolicy cachePolicy() const; |
| 174 BLINK_PLATFORM_EXPORT void setCachePolicy(CachePolicy); | 179 BLINK_PLATFORM_EXPORT void setCachePolicy(CachePolicy); |
| 175 | 180 |
| 176 BLINK_PLATFORM_EXPORT WebString httpMethod() const; | 181 BLINK_PLATFORM_EXPORT WebString httpMethod() const; |
| 177 BLINK_PLATFORM_EXPORT void setHTTPMethod(const WebString&); | 182 BLINK_PLATFORM_EXPORT void setHTTPMethod(const WebString&); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 292 protected: | 297 protected: |
| 293 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 298 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 294 | 299 |
| 295 private: | 300 private: |
| 296 WebURLRequestPrivate* m_private; | 301 WebURLRequestPrivate* m_private; |
| 297 }; | 302 }; |
| 298 | 303 |
| 299 } // namespace blink | 304 } // namespace blink |
| 300 | 305 |
| 301 #endif | 306 #endif |
| OLD | NEW |