| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/glue/glue_serialize.h" | 5 #include "webkit/glue/glue_serialize_deprecated.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/pickle.h" | 9 #include "base/pickle.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" | 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPBody.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPBody.h" |
| 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 // serialization of the given URL with a dummy version number of -1. This | 659 // serialization of the given URL with a dummy version number of -1. This |
| 660 // will be interpreted by ReadHistoryItem as a request to create a default | 660 // will be interpreted by ReadHistoryItem as a request to create a default |
| 661 // WebHistoryItem. | 661 // WebHistoryItem. |
| 662 SerializeObject obj; | 662 SerializeObject obj; |
| 663 WriteInteger(-1, &obj); | 663 WriteInteger(-1, &obj); |
| 664 WriteGURL(url, &obj); | 664 WriteGURL(url, &obj); |
| 665 return obj.GetAsString(); | 665 return obj.GetAsString(); |
| 666 } | 666 } |
| 667 | 667 |
| 668 } // namespace webkit_glue | 668 } // namespace webkit_glue |
| OLD | NEW |