| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/pickle.h" | 7 #include "base/pickle.h" |
| 8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "webkit/api/public/WebHTTPBody.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebHTTPBody.h" |
| 11 #include "webkit/api/public/WebPoint.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h" |
| 12 #include "webkit/api/public/WebVector.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" |
| 13 #include "webkit/glue/glue_serialize.h" | 13 #include "webkit/glue/glue_serialize.h" |
| 14 | 14 |
| 15 using WebKit::WebData; | 15 using WebKit::WebData; |
| 16 using WebKit::WebHistoryItem; | 16 using WebKit::WebHistoryItem; |
| 17 using WebKit::WebHTTPBody; | 17 using WebKit::WebHTTPBody; |
| 18 using WebKit::WebPoint; | 18 using WebKit::WebPoint; |
| 19 using WebKit::WebString; | 19 using WebKit::WebString; |
| 20 using WebKit::WebUChar; | 20 using WebKit::WebUChar; |
| 21 using WebKit::WebVector; | 21 using WebKit::WebVector; |
| 22 | 22 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 p.WriteInt(0); | 190 p.WriteInt(0); |
| 191 // WebForm | 191 // WebForm |
| 192 p.WriteInt(1); | 192 p.WriteInt(1); |
| 193 p.WriteInt(WebHTTPBody::Element::TypeData); | 193 p.WriteInt(WebHTTPBody::Element::TypeData); |
| 194 std::string s(static_cast<const char*>(p.data()), p.size()); | 194 std::string s(static_cast<const char*>(p.data()), p.size()); |
| 195 webkit_glue::HistoryItemFromString(s); | 195 webkit_glue::HistoryItemFromString(s); |
| 196 } | 196 } |
| 197 } | 197 } |
| 198 | 198 |
| 199 } // namespace | 199 } // namespace |
| OLD | NEW |