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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 WEBKIT_API void initialize(); | 69 WEBKIT_API void initialize(); |
70 WEBKIT_API void reset(); | 70 WEBKIT_API void reset(); |
71 WEBKIT_API void assign(const WebURLRequest&); | 71 WEBKIT_API void assign(const WebURLRequest&); |
72 | 72 |
73 bool isNull() const { return m_private == 0; } | 73 bool isNull() const { return m_private == 0; } |
74 | 74 |
75 WEBKIT_API WebURL url() const = 0; | 75 WEBKIT_API WebURL url() const = 0; |
76 WEBKIT_API void setURL(const WebURL&) = 0; | 76 WEBKIT_API void setURL(const WebURL&) = 0; |
77 | 77 |
78 // Used to implement third-party cookie blocking. | 78 // Used to implement third-party cookie blocking. |
79 WEBKIT_API WebURL policyBaseURL() const = 0; | 79 WEBKIT_API WebURL firstPartyForCookies() const = 0; |
darin (slow to review)
2009/05/22 23:20:03
thanks for fixing up this file!
abarth-chromium
2009/05/22 23:25:47
I couldn't find the implemenation of this function
| |
80 WEBKIT_API void setPolicyBaseURL(const WebURL&) = 0; | 80 WEBKIT_API void setFirstPartyForCookies(const WebURL&) = 0; |
81 | 81 |
82 WEBKIT_API CachePolicy cachePolicy() const = 0; | 82 WEBKIT_API CachePolicy cachePolicy() const = 0; |
83 WEBKIT_API void setCachePolicy(CachePolicy) = 0; | 83 WEBKIT_API void setCachePolicy(CachePolicy) = 0; |
84 | 84 |
85 WEBKIT_API WebString httpMethod() const = 0; | 85 WEBKIT_API WebString httpMethod() const = 0; |
86 WEBKIT_API void setHTTPMethod(const WebString&) = 0; | 86 WEBKIT_API void setHTTPMethod(const WebString&) = 0; |
87 | 87 |
88 WEBKIT_API WebString httpHeaderField(const WebString& name) const = 0; | 88 WEBKIT_API WebString httpHeaderField(const WebString& name) const = 0; |
89 WEBKIT_API void setHTTPHeaderField(const WebString& name, const WebString& value) = 0; | 89 WEBKIT_API void setHTTPHeaderField(const WebString& name, const WebString& value) = 0; |
90 WEBKIT_API void addHTTPHeaderField(const WebString& name, const WebString& value) = 0; | 90 WEBKIT_API void addHTTPHeaderField(const WebString& name, const WebString& value) = 0; |
(...skipping 28 matching lines...) Expand all Loading... | |
119 WEBKIT_API WebCString securityInfo() const = 0; | 119 WEBKIT_API WebCString securityInfo() const = 0; |
120 WEBKIT_API void setSecurityInfo(const WebCString&) = 0; | 120 WEBKIT_API void setSecurityInfo(const WebCString&) = 0; |
121 | 121 |
122 private: | 122 private: |
123 WebURLRequestPrivate* m_private; | 123 WebURLRequestPrivate* m_private; |
124 }; | 124 }; |
125 | 125 |
126 } // namespace WebKit | 126 } // namespace WebKit |
127 | 127 |
128 #endif | 128 #endif |
OLD | NEW |