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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 // Remote port number of the socket which fetched this resource. | 242 // Remote port number of the socket which fetched this resource. |
243 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; | 243 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; |
244 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); | 244 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); |
245 | 245 |
246 // Extra data associated with the underlying resource response. Resource | 246 // Extra data associated with the underlying resource response. Resource |
247 // responses can be copied. If non-null, each copy of a resource response | 247 // responses can be copied. If non-null, each copy of a resource response |
248 // holds a pointer to the extra data, and the extra data pointer will be | 248 // holds a pointer to the extra data, and the extra data pointer will be |
249 // deleted when the last resource response is destroyed. Setting the extra | 249 // deleted when the last resource response is destroyed. Setting the extra |
250 // data pointer will cause the underlying resource response to be | 250 // data pointer will cause the underlying resource response to be |
251 // dissociated from any existing non-null extra data pointer. | 251 // dissociated from any existing non-null extra data pointer. |
252 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; | 252 BLINK_PLATFORM_EXPORT ExtraData* getExtraData() const; |
253 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); | 253 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); |
254 | 254 |
255 protected: | 255 protected: |
256 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); | 256 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); |
257 | 257 |
258 private: | 258 private: |
259 WebURLResponsePrivate* m_private; | 259 WebURLResponsePrivate* m_private; |
260 }; | 260 }; |
261 | 261 |
262 } // namespace blink | 262 } // namespace blink |
263 | 263 |
264 #endif | 264 #endif |
OLD | NEW |