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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 int WebURLRequest::requestorProcessID() const | 218 int WebURLRequest::requestorProcessID() const |
219 { | 219 { |
220 return m_private->m_resourceRequest->requestorProcessID(); | 220 return m_private->m_resourceRequest->requestorProcessID(); |
221 } | 221 } |
222 | 222 |
223 void WebURLRequest::setRequestorProcessID(int requestorProcessID) | 223 void WebURLRequest::setRequestorProcessID(int requestorProcessID) |
224 { | 224 { |
225 m_private->m_resourceRequest->setRequestorProcessID(requestorProcessID); | 225 m_private->m_resourceRequest->setRequestorProcessID(requestorProcessID); |
226 } | 226 } |
227 | 227 |
228 int WebURLRequest::appCacheContextID() const | 228 int WebURLRequest::appCacheHostID() const |
229 { | 229 { |
230 return m_private->m_resourceRequest->appCacheContextID(); | 230 return m_private->m_resourceRequest->appCacheHostID(); |
231 } | 231 } |
232 | 232 |
233 void WebURLRequest::setAppCacheContextID(int appCacheContextID) | 233 void WebURLRequest::setAppCacheHostID(int appCacheHostID) |
234 { | 234 { |
235 m_private->m_resourceRequest->setAppCacheContextID(appCacheContextID); | 235 m_private->m_resourceRequest->setAppCacheHostID(appCacheHostID); |
236 } | 236 } |
237 | 237 |
238 ResourceRequest& WebURLRequest::toMutableResourceRequest() | 238 ResourceRequest& WebURLRequest::toMutableResourceRequest() |
239 { | 239 { |
240 ASSERT(m_private); | 240 ASSERT(m_private); |
241 ASSERT(m_private->m_resourceRequest); | 241 ASSERT(m_private->m_resourceRequest); |
242 | 242 |
243 return *m_private->m_resourceRequest; | 243 return *m_private->m_resourceRequest; |
244 } | 244 } |
245 | 245 |
(...skipping 10 matching lines...) Expand all Loading... |
256 // Subclasses may call this directly so a self-assignment check is needed | 256 // Subclasses may call this directly so a self-assignment check is needed |
257 // here as well as in the public assign method. | 257 // here as well as in the public assign method. |
258 if (m_private == p) | 258 if (m_private == p) |
259 return; | 259 return; |
260 if (m_private) | 260 if (m_private) |
261 m_private->dispose(); | 261 m_private->dispose(); |
262 m_private = p; | 262 m_private = p; |
263 } | 263 } |
264 | 264 |
265 } // namespace WebKit | 265 } // namespace WebKit |
OLD | NEW |