| Index: content/common/page_state_serialization.h
|
| diff --git a/content/common/page_state_serialization.h b/content/common/page_state_serialization.h
|
| index e0c2ecf2f01afb0aa8a97de348f9c7666bfa36e8..ad6149e360725cae6f3cc3778cfe647fbd201852 100644
|
| --- a/content/common/page_state_serialization.h
|
| +++ b/content/common/page_state_serialization.h
|
| @@ -22,14 +22,10 @@
|
|
|
| namespace content {
|
|
|
| -using ExplodedHttpBodyElement = ResourceRequestBody::Element;
|
| -
|
| struct CONTENT_EXPORT ExplodedHttpBody {
|
| base::NullableString16 http_content_type;
|
| - std::vector<ExplodedHttpBodyElement> elements;
|
| - int64_t identifier;
|
| + scoped_refptr<ResourceRequestBody> request_body;
|
| bool contains_passwords;
|
| - bool is_null;
|
|
|
| ExplodedHttpBody();
|
| ~ExplodedHttpBody();
|
| @@ -76,15 +72,6 @@ CONTENT_EXPORT bool DecodePageState(const std::string& encoded,
|
| CONTENT_EXPORT bool EncodePageState(const ExplodedPageState& exploded,
|
| std::string* encoded);
|
|
|
| -// This method converts the ExplodedHttpBody into a ResourceRequestBody format.
|
| -// If |exploded| is not null, initializes |http_body| with the data from
|
| -// |exploded|. Returns false otherwise.
|
| -// PlzNavigate: This is used in the browser process when converting the POST
|
| -// data stored in a PageState into a ResourceRequestBody that can be used by
|
| -// the network stack.
|
| -bool GeneratePostData(const ExplodedHttpBody& exploded,
|
| - ResourceRequestBody* http_body);
|
| -
|
| #if defined(OS_ANDROID)
|
| CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting(
|
| const std::string& encoded,
|
|
|