Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Side by Side Diff: content/common/page_state_serialization.h

Issue 1138543002: Better remove HistoryNodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove frame sequence numbers from serialization Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/common/page_state_serialization.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 base::NullableString16 url_string; 47 base::NullableString16 url_string;
48 base::NullableString16 referrer; 48 base::NullableString16 referrer;
49 base::NullableString16 target; 49 base::NullableString16 target;
50 base::NullableString16 state_object; 50 base::NullableString16 state_object;
51 std::vector<base::NullableString16> document_state; 51 std::vector<base::NullableString16> document_state;
52 blink::WebHistoryScrollRestorationType scroll_restoration_type; 52 blink::WebHistoryScrollRestorationType scroll_restoration_type;
53 gfx::PointF pinch_viewport_scroll_offset; 53 gfx::PointF pinch_viewport_scroll_offset;
54 gfx::Point scroll_offset; 54 gfx::Point scroll_offset;
55 int64 item_sequence_number; 55 int64 item_sequence_number;
56 int64 document_sequence_number; 56 int64 document_sequence_number;
57 int64 frame_sequence_number;
58 double page_scale_factor; 57 double page_scale_factor;
59 blink::WebReferrerPolicy referrer_policy; 58 blink::WebReferrerPolicy referrer_policy;
60 ExplodedHttpBody http_body; 59 ExplodedHttpBody http_body;
61 std::vector<ExplodedFrameState> children; 60 std::vector<ExplodedFrameState> children;
62 61
63 ExplodedFrameState(); 62 ExplodedFrameState();
64 ExplodedFrameState(const ExplodedFrameState& other); 63 ExplodedFrameState(const ExplodedFrameState& other);
65 ~ExplodedFrameState(); 64 ~ExplodedFrameState();
66 void operator=(const ExplodedFrameState& other); 65 void operator=(const ExplodedFrameState& other);
67 66
(...skipping 20 matching lines...) Expand all
88 #if defined(OS_ANDROID) 87 #if defined(OS_ANDROID)
89 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting( 88 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting(
90 const std::string& encoded, 89 const std::string& encoded,
91 float device_scale_factor, 90 float device_scale_factor,
92 ExplodedPageState* exploded); 91 ExplodedPageState* exploded);
93 #endif 92 #endif
94 93
95 } // namespace content 94 } // namespace content
96 95
97 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ 96 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/page_state_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698