| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ | 5 #ifndef CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ |
| 6 #define CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ | 6 #define CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/nullable_string16.h" | 10 #include "base/strings/nullable_string16.h" |
| 11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 12 #include "third_party/WebKit/public/platform/WebHTTPBody.h" | 12 #include "third_party/WebKit/public/platform/WebHTTPBody.h" |
| 13 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 13 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
| 14 #include "ui/gfx/point.h" | 14 #include "ui/gfx/geometry/point.h" |
| 15 #include "ui/gfx/point_f.h" | 15 #include "ui/gfx/geometry/point_f.h" |
| 16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 | 19 |
| 20 struct CONTENT_EXPORT ExplodedHttpBodyElement { | 20 struct CONTENT_EXPORT ExplodedHttpBodyElement { |
| 21 blink::WebHTTPBody::Element::Type type; | 21 blink::WebHTTPBody::Element::Type type; |
| 22 std::string data; | 22 std::string data; |
| 23 base::NullableString16 file_path; | 23 base::NullableString16 file_path; |
| 24 GURL filesystem_url; | 24 GURL filesystem_url; |
| 25 int64 file_start; | 25 int64 file_start; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 #if defined(OS_ANDROID) | 86 #if defined(OS_ANDROID) |
| 87 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting( | 87 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting( |
| 88 const std::string& encoded, | 88 const std::string& encoded, |
| 89 float device_scale_factor, | 89 float device_scale_factor, |
| 90 ExplodedPageState* exploded); | 90 ExplodedPageState* exploded); |
| 91 #endif | 91 #endif |
| 92 | 92 |
| 93 } // namespace content | 93 } // namespace content |
| 94 | 94 |
| 95 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ | 95 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ |
| OLD | NEW |