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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 // A consumer controlled value intended to be used to identify the | 119 // A consumer controlled value intended to be used to identify the |
120 // process of the requestor. | 120 // process of the requestor. |
121 WEBKIT_API int requestorProcessID() const; | 121 WEBKIT_API int requestorProcessID() const; |
122 WEBKIT_API void setRequestorProcessID(int); | 122 WEBKIT_API void setRequestorProcessID(int); |
123 | 123 |
124 // Allows the request to be matched up with its app cache context. | 124 // Allows the request to be matched up with its app cache context. |
125 WEBKIT_API int appCacheContextID() const; | 125 WEBKIT_API int appCacheContextID() const; |
126 WEBKIT_API void setAppCacheContextID(int id); | 126 WEBKIT_API void setAppCacheContextID(int id); |
127 | 127 |
128 // A consumer controlled value intended to be used to record opaque | |
129 // security info related to this request. | |
130 // FIXME: This really doesn't belong here! | |
131 WEBKIT_API WebCString securityInfo() const; | |
132 WEBKIT_API void setSecurityInfo(const WebCString&); | |
133 | |
134 #if defined(WEBKIT_IMPLEMENTATION) | 128 #if defined(WEBKIT_IMPLEMENTATION) |
135 WebCore::ResourceRequest& toMutableResourceRequest(); | 129 WebCore::ResourceRequest& toMutableResourceRequest(); |
136 const WebCore::ResourceRequest& toResourceRequest() const; | 130 const WebCore::ResourceRequest& toResourceRequest() const; |
137 #endif | 131 #endif |
138 | 132 |
139 protected: | 133 protected: |
140 void assign(WebURLRequestPrivate*); | 134 void assign(WebURLRequestPrivate*); |
141 | 135 |
142 private: | 136 private: |
143 WebURLRequestPrivate* m_private; | 137 WebURLRequestPrivate* m_private; |
144 }; | 138 }; |
145 | 139 |
146 } // namespace WebKit | 140 } // namespace WebKit |
147 | 141 |
148 #endif | 142 #endif |
OLD | NEW |