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

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

Issue 51423002: Add a target_frame_id to the history serialization format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unconditionlly setTargetFrameID() Created 7 years, 1 month 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 | Annotate | Revision Log
« 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 struct CONTENT_EXPORT ExplodedFrameState { 43 struct CONTENT_EXPORT ExplodedFrameState {
44 base::NullableString16 url_string; 44 base::NullableString16 url_string;
45 base::NullableString16 original_url_string; 45 base::NullableString16 original_url_string;
46 base::NullableString16 referrer; 46 base::NullableString16 referrer;
47 base::NullableString16 target; 47 base::NullableString16 target;
48 base::NullableString16 state_object; 48 base::NullableString16 state_object;
49 std::vector<base::NullableString16> document_state; 49 std::vector<base::NullableString16> document_state;
50 gfx::Point scroll_offset; 50 gfx::Point scroll_offset;
51 int64 item_sequence_number; 51 int64 item_sequence_number;
52 int64 document_sequence_number; 52 int64 document_sequence_number;
53 int64 target_frame_id;
53 double page_scale_factor; 54 double page_scale_factor;
54 ExplodedHttpBody http_body; 55 ExplodedHttpBody http_body;
55 std::vector<ExplodedFrameState> children; 56 std::vector<ExplodedFrameState> children;
56 57
57 ExplodedFrameState(); 58 ExplodedFrameState();
58 ~ExplodedFrameState(); 59 ~ExplodedFrameState();
59 }; 60 };
60 61
61 struct CONTENT_EXPORT ExplodedPageState { 62 struct CONTENT_EXPORT ExplodedPageState {
62 std::vector<base::NullableString16> referenced_files; 63 std::vector<base::NullableString16> referenced_files;
(...skipping 11 matching lines...) Expand all
74 #if defined(OS_ANDROID) 75 #if defined(OS_ANDROID)
75 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting( 76 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting(
76 const std::string& encoded, 77 const std::string& encoded,
77 float device_scale_factor, 78 float device_scale_factor,
78 ExplodedPageState* exploded); 79 ExplodedPageState* exploded);
79 #endif 80 #endif
80 81
81 } // namespace content 82 } // namespace content
82 83
83 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ 84 #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