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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 WebURL WebURLRequest::firstPartyForCookies() const | 117 WebURL WebURLRequest::firstPartyForCookies() const |
118 { | 118 { |
119 return m_private->m_resourceRequest->firstPartyForCookies(); | 119 return m_private->m_resourceRequest->firstPartyForCookies(); |
120 } | 120 } |
121 | 121 |
122 void WebURLRequest::setFirstPartyForCookies(const WebURL& firstPartyForCookies) | 122 void WebURLRequest::setFirstPartyForCookies(const WebURL& firstPartyForCookies) |
123 { | 123 { |
124 m_private->m_resourceRequest->setFirstPartyForCookies(firstPartyForCookies); | 124 m_private->m_resourceRequest->setFirstPartyForCookies(firstPartyForCookies); |
125 } | 125 } |
126 | 126 |
| 127 WebURL WebURLRequest::requestorURL() const |
| 128 { |
| 129 return m_private->m_resourceRequest->requestorURL(); |
| 130 } |
| 131 |
| 132 void WebURLRequest::setRequestorURL(const WebURL& requestorURL) |
| 133 { |
| 134 m_private->m_resourceRequest->setRequestorURL(requestorURL); |
| 135 } |
| 136 |
127 bool WebURLRequest::allowStoredCredentials() const | 137 bool WebURLRequest::allowStoredCredentials() const |
128 { | 138 { |
129 return m_private->m_resourceRequest->allowStoredCredentials(); | 139 return m_private->m_resourceRequest->allowStoredCredentials(); |
130 } | 140 } |
131 | 141 |
132 void WebURLRequest::setAllowStoredCredentials(bool allowStoredCredentials) | 142 void WebURLRequest::setAllowStoredCredentials(bool allowStoredCredentials) |
133 { | 143 { |
134 m_private->m_resourceRequest->setAllowStoredCredentials(allowStoredCredentia
ls); | 144 m_private->m_resourceRequest->setAllowStoredCredentials(allowStoredCredentia
ls); |
135 } | 145 } |
136 | 146 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 // Subclasses may call this directly so a self-assignment check is needed | 448 // Subclasses may call this directly so a self-assignment check is needed |
439 // here as well as in the public assign method. | 449 // here as well as in the public assign method. |
440 if (m_private == p) | 450 if (m_private == p) |
441 return; | 451 return; |
442 if (m_private) | 452 if (m_private) |
443 m_private->dispose(); | 453 m_private->dispose(); |
444 m_private = p; | 454 m_private = p; |
445 } | 455 } |
446 | 456 |
447 } // namespace blink | 457 } // namespace blink |
OLD | NEW |