OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.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/WebKit/chromium/public/WebData.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebData.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPBody.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebHTTPBody.
h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPoint.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
20 #include "webkit/glue/webkit_glue.h" | 20 #include "webkit/glue/webkit_glue.h" |
21 | 21 |
22 using WebKit::WebData; | 22 using WebKit::WebData; |
23 using WebKit::WebHistoryItem; | 23 using WebKit::WebHistoryItem; |
24 using WebKit::WebHTTPBody; | 24 using WebKit::WebHTTPBody; |
25 using WebKit::WebPoint; | 25 using WebKit::WebPoint; |
26 using WebKit::WebSerializedScriptValue; | 26 using WebKit::WebSerializedScriptValue; |
27 using WebKit::WebString; | 27 using WebKit::WebString; |
28 using WebKit::WebUChar; | 28 using WebKit::WebUChar; |
29 using WebKit::WebVector; | 29 using WebKit::WebVector; |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 kVersion = version; | 511 kVersion = version; |
512 | 512 |
513 SerializeObject obj; | 513 SerializeObject obj; |
514 WriteHistoryItem(item, &obj); | 514 WriteHistoryItem(item, &obj); |
515 *serialized_item = obj.GetAsString(); | 515 *serialized_item = obj.GetAsString(); |
516 | 516 |
517 kVersion = real_version; | 517 kVersion = real_version; |
518 } | 518 } |
519 | 519 |
520 } // namespace webkit_glue | 520 } // namespace webkit_glue |
OLD | NEW |