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

Side by Side Diff: content/browser/frame_host/navigation_entry_impl.h

Issue 1907443006: PlzNavigate: store POST data in the FrameNavigationEntry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 7 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
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_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // NavigationEntryImpls, we will need to support two versions of Clone: one 153 // NavigationEntryImpls, we will need to support two versions of Clone: one
154 // that shares the existing FrameNavigationEntries (for use within the same 154 // that shares the existing FrameNavigationEntries (for use within the same
155 // tab) and one that draws them from a different pool (for use in a new tab). 155 // tab) and one that draws them from a different pool (for use in a new tab).
156 std::unique_ptr<NavigationEntryImpl> CloneAndReplace( 156 std::unique_ptr<NavigationEntryImpl> CloneAndReplace(
157 FrameTreeNode* frame_tree_node, 157 FrameTreeNode* frame_tree_node,
158 FrameNavigationEntry* frame_entry) const; 158 FrameNavigationEntry* frame_entry) const;
159 159
160 // Helper functions to construct NavigationParameters for a navigation to this 160 // Helper functions to construct NavigationParameters for a navigation to this
161 // NavigationEntry. 161 // NavigationEntry.
162 CommonNavigationParams ConstructCommonNavigationParams( 162 CommonNavigationParams ConstructCommonNavigationParams(
163 const FrameNavigationEntry& frame_entry,
163 const GURL& dest_url, 164 const GURL& dest_url,
164 const Referrer& dest_referrer, 165 const Referrer& dest_referrer,
165 FrameMsg_Navigate_Type::Value navigation_type, 166 FrameMsg_Navigate_Type::Value navigation_type,
166 LoFiState lofi_state, 167 LoFiState lofi_state,
167 const base::TimeTicks& navigation_start) const; 168 const base::TimeTicks& navigation_start) const;
168 StartNavigationParams ConstructStartNavigationParams() const; 169 StartNavigationParams ConstructStartNavigationParams() const;
169 RequestNavigationParams ConstructRequestNavigationParams( 170 RequestNavigationParams ConstructRequestNavigationParams(
170 const FrameNavigationEntry& frame_entry, 171 const FrameNavigationEntry& frame_entry,
171 bool is_same_document_history_load, 172 bool is_same_document_history_load,
172 bool has_committed_real_load, 173 bool has_committed_real_load,
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // persisted, unless specific data is taken out/put back in at save/restore 503 // persisted, unless specific data is taken out/put back in at save/restore
503 // time (see TabNavigation for an example of this). 504 // time (see TabNavigation for an example of this).
504 std::map<std::string, base::string16> extra_data_; 505 std::map<std::string, base::string16> extra_data_;
505 506
506 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); 507 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl);
507 }; 508 };
508 509
509 } // namespace content 510 } // namespace content
510 511
511 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 512 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698