| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 explicit WebURLRequest(const WebURL& url) : m_private(0) | 106 explicit WebURLRequest(const WebURL& url) : m_private(0) |
| 107 { | 107 { |
| 108 initialize(); | 108 initialize(); |
| 109 setURL(url); | 109 setURL(url); |
| 110 } | 110 } |
| 111 | 111 |
| 112 BLINK_PLATFORM_EXPORT void initialize(); | 112 BLINK_PLATFORM_EXPORT void initialize(); |
| 113 BLINK_PLATFORM_EXPORT void reset(); | 113 BLINK_PLATFORM_EXPORT void reset(); |
| 114 BLINK_PLATFORM_EXPORT void assign(const WebURLRequest&); | 114 BLINK_PLATFORM_EXPORT void assign(const WebURLRequest&); |
| 115 | 115 |
| 116 // Initializes the TargetType and the Priority for main resources |
| 117 BLINK_PLATFORM_EXPORT void initializeForMainResource(bool isMainFrame); |
| 118 |
| 116 BLINK_PLATFORM_EXPORT bool isNull() const; | 119 BLINK_PLATFORM_EXPORT bool isNull() const; |
| 117 | 120 |
| 118 BLINK_PLATFORM_EXPORT WebURL url() const; | 121 BLINK_PLATFORM_EXPORT WebURL url() const; |
| 119 BLINK_PLATFORM_EXPORT void setURL(const WebURL&); | 122 BLINK_PLATFORM_EXPORT void setURL(const WebURL&); |
| 120 | 123 |
| 121 // Used to implement third-party cookie blocking. | 124 // Used to implement third-party cookie blocking. |
| 122 BLINK_PLATFORM_EXPORT WebURL firstPartyForCookies() const; | 125 BLINK_PLATFORM_EXPORT WebURL firstPartyForCookies() const; |
| 123 BLINK_PLATFORM_EXPORT void setFirstPartyForCookies(const WebURL&); | 126 BLINK_PLATFORM_EXPORT void setFirstPartyForCookies(const WebURL&); |
| 124 | 127 |
| 125 // Controls whether user name, password, and cookies may be sent with the | 128 // Controls whether user name, password, and cookies may be sent with the |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 protected: | 205 protected: |
| 203 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 206 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 204 | 207 |
| 205 private: | 208 private: |
| 206 WebURLRequestPrivate* m_private; | 209 WebURLRequestPrivate* m_private; |
| 207 }; | 210 }; |
| 208 | 211 |
| 209 } // namespace blink | 212 } // namespace blink |
| 210 | 213 |
| 211 #endif | 214 #endif |
| OLD | NEW |