Home | History | Annotate | Download | only in glue

Lines Matching refs:WebString

17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
27 using WebKit::WebString;
144 // Read/WriteString pickle the WebString as <int length><WebUChar* data>.
145 // If length == -1, then the WebString itself is NULL (WebString()).
146 // Otherwise the length is the number of WebUChars (not bytes) in the WebString.
147 inline void WriteString(const WebString& str, SerializeObject* obj) {
151 // It saves WebString() and "" as "".
157 // It uses -1 in the length field to mean WebString().
168 // It uses -1 in the length field to mean WebString().
180 // This reads a serialized WebString from obj. If a string can't be read,
181 // WebString() is returned.
182 inline WebString ReadString(const SerializeObject* obj) {
187 return WebString();
189 // Starting with version 2, -1 means WebString().
191 return WebString();
201 return WebString();
202 return WebString(static_cast<const WebUChar*>(data),
208 const WebVector<WebString>& data, SerializeObject* obj) {
216 static WebVector<WebString> ReadStringVector(const SerializeObject* obj) {
218 WebVector<WebString> result(static_cast<size_t>(num_elements));
272 WebString file_path = ReadString(obj);
356 item.setURLString(WebString::fromUTF8(url.possibly_invalid_spec()));
399 const WebString& http_content_type = ReadString(obj);
400 ALLOW_UNUSED const WebString& unused_referrer = ReadString(obj);