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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // requestor. | 123 // requestor. |
124 WEBKIT_API int requestorID() const; | 124 WEBKIT_API int requestorID() const; |
125 WEBKIT_API void setRequestorID(int); | 125 WEBKIT_API void setRequestorID(int); |
126 | 126 |
127 // A consumer controlled value intended to be used to identify the | 127 // A consumer controlled value intended to be used to identify the |
128 // process of the requestor. | 128 // process of the requestor. |
129 WEBKIT_API int requestorProcessID() const; | 129 WEBKIT_API int requestorProcessID() const; |
130 WEBKIT_API void setRequestorProcessID(int); | 130 WEBKIT_API void setRequestorProcessID(int); |
131 | 131 |
132 // Allows the request to be matched up with its app cache context. | 132 // Allows the request to be matched up with its app cache context. |
133 WEBKIT_API int appCacheContextID() const; | 133 WEBKIT_API int appCacheHostID() const; |
134 WEBKIT_API void setAppCacheContextID(int id); | 134 WEBKIT_API void setAppCacheHostID(int id); |
135 | 135 |
136 #if defined(WEBKIT_IMPLEMENTATION) | 136 #if defined(WEBKIT_IMPLEMENTATION) |
137 WebCore::ResourceRequest& toMutableResourceRequest(); | 137 WebCore::ResourceRequest& toMutableResourceRequest(); |
138 const WebCore::ResourceRequest& toResourceRequest() const; | 138 const WebCore::ResourceRequest& toResourceRequest() const; |
139 #endif | 139 #endif |
140 | 140 |
141 protected: | 141 protected: |
142 void assign(WebURLRequestPrivate*); | 142 void assign(WebURLRequestPrivate*); |
143 | 143 |
144 private: | 144 private: |
145 WebURLRequestPrivate* m_private; | 145 WebURLRequestPrivate* m_private; |
146 }; | 146 }; |
147 | 147 |
148 } // namespace WebKit | 148 } // namespace WebKit |
149 | 149 |
150 #endif | 150 #endif |
OLD | NEW |