| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 base::NullableString16 referrer; | 37 base::NullableString16 referrer; |
| 38 base::NullableString16 target; | 38 base::NullableString16 target; |
| 39 base::NullableString16 state_object; | 39 base::NullableString16 state_object; |
| 40 std::vector<base::NullableString16> document_state; | 40 std::vector<base::NullableString16> document_state; |
| 41 blink::WebHistoryScrollRestorationType scroll_restoration_type; | 41 blink::WebHistoryScrollRestorationType scroll_restoration_type; |
| 42 gfx::PointF visual_viewport_scroll_offset; | 42 gfx::PointF visual_viewport_scroll_offset; |
| 43 gfx::Point scroll_offset; | 43 gfx::Point scroll_offset; |
| 44 int64_t item_sequence_number; | 44 int64_t item_sequence_number; |
| 45 int64_t document_sequence_number; | 45 int64_t document_sequence_number; |
| 46 double page_scale_factor; | 46 double page_scale_factor; |
| 47 bool did_save_scroll_state; |
| 47 blink::WebReferrerPolicy referrer_policy; | 48 blink::WebReferrerPolicy referrer_policy; |
| 48 ExplodedHttpBody http_body; | 49 ExplodedHttpBody http_body; |
| 49 std::vector<ExplodedFrameState> children; | 50 std::vector<ExplodedFrameState> children; |
| 50 | 51 |
| 51 ExplodedFrameState(); | 52 ExplodedFrameState(); |
| 52 ExplodedFrameState(const ExplodedFrameState& other); | 53 ExplodedFrameState(const ExplodedFrameState& other); |
| 53 ~ExplodedFrameState(); | 54 ~ExplodedFrameState(); |
| 54 void operator=(const ExplodedFrameState& other); | 55 void operator=(const ExplodedFrameState& other); |
| 55 | 56 |
| 56 private: | 57 private: |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 size_t size); | 89 size_t size); |
| 89 | 90 |
| 90 // Encodes |resource_request_body| into |encoded|. | 91 // Encodes |resource_request_body| into |encoded|. |
| 91 std::string EncodeResourceRequestBody( | 92 std::string EncodeResourceRequestBody( |
| 92 const ResourceRequestBodyImpl& resource_request_body); | 93 const ResourceRequestBodyImpl& resource_request_body); |
| 93 #endif | 94 #endif |
| 94 | 95 |
| 95 } // namespace content | 96 } // namespace content |
| 96 | 97 |
| 97 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ | 98 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ |
| OLD | NEW |