| 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 <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 "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPBody.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebHTTPBody.
h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPoint.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
| 13 #include "webkit/glue/glue_serialize.h" | 13 #include "webkit/glue/glue_serialize.h" |
| 14 #include "webkit/glue/web_io_operators.h" | 14 #include "webkit/glue/web_io_operators.h" |
| 15 | 15 |
| 16 using WebKit::WebData; | 16 using WebKit::WebData; |
| 17 using WebKit::WebHistoryItem; | 17 using WebKit::WebHistoryItem; |
| 18 using WebKit::WebHTTPBody; | 18 using WebKit::WebHTTPBody; |
| 19 using WebKit::WebPoint; | 19 using WebKit::WebPoint; |
| 20 using WebKit::WebString; | 20 using WebKit::WebString; |
| 21 using WebKit::WebUChar; | 21 using WebKit::WebUChar; |
| 22 using WebKit::WebVector; | 22 using WebKit::WebVector; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 p.WriteInt(0); | 193 p.WriteInt(0); |
| 194 // WebForm | 194 // WebForm |
| 195 p.WriteInt(1); | 195 p.WriteInt(1); |
| 196 p.WriteInt(WebHTTPBody::Element::TypeData); | 196 p.WriteInt(WebHTTPBody::Element::TypeData); |
| 197 std::string s(static_cast<const char*>(p.data()), p.size()); | 197 std::string s(static_cast<const char*>(p.data()), p.size()); |
| 198 webkit_glue::HistoryItemFromString(s); | 198 webkit_glue::HistoryItemFromString(s); |
| 199 } | 199 } |
| 200 } | 200 } |
| 201 | 201 |
| 202 } // namespace | 202 } // namespace |
| OLD | NEW |