Lines Matching refs:SerializeObject
33 struct SerializeObject {
34 SerializeObject() : iter(NULL) {}
35 SerializeObject(const char* data, int len) : pickle(data, len), iter(NULL) {}
70 inline void WriteData(const void* data, int length, SerializeObject* obj) {
74 inline void ReadData(const SerializeObject* obj, const void** data,
81 inline bool ReadBytes(const SerializeObject* obj, const void** data,
90 inline void WriteInteger(int data, SerializeObject* obj) {
94 inline int ReadInteger(const SerializeObject* obj) {
100 inline void WriteInteger64(int64 data, SerializeObject* obj) {
104 inline int64 ReadInteger64(const SerializeObject* obj) {
110 inline void WriteReal(double data, SerializeObject* obj) {
114 inline double ReadReal(const SerializeObject* obj) {
124 inline void WriteBoolean(bool data, SerializeObject* obj) {
128 inline bool ReadBoolean(const SerializeObject* obj) {
134 inline void WriteGURL(const GURL& url, SerializeObject* obj) {
138 inline GURL ReadGURL(const SerializeObject* obj) {
147 inline void WriteString(const WebString& str, SerializeObject* obj) {
182 inline WebString ReadString(const SerializeObject* obj) {
206 // Writes a Vector of Strings into a SerializeObject for serialization.
208 const WebVector<WebString>& data, SerializeObject* obj) {
216 static WebVector<WebString> ReadStringVector(const SerializeObject* obj) {
224 // Writes a FormData object into a SerializeObject for serialization.
225 static void WriteFormData(const WebHTTPBody& http_body, SerializeObject* obj) {
250 static WebHTTPBody ReadFormData(const SerializeObject* obj) {
294 // Writes the HistoryItem data into the SerializeObject object for
297 const WebHistoryItem& item, SerializeObject* obj) {
346 const SerializeObject* obj,
421 SerializeObject obj;
438 SerializeObject obj(serialized_item.data(),
460 SerializeObject obj;
473 SerializeObject obj;