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

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

Issue 1432583002: Move browser_navigation_start to CommonNavigationParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nasko review Created 5 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_entry_impl.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_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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 scoped_ptr<NavigationEntryImpl> CloneAndReplace( 141 scoped_ptr<NavigationEntryImpl> CloneAndReplace(
142 FrameTreeNode* frame_tree_node, FrameNavigationEntry* frame_entry) const; 142 FrameTreeNode* frame_tree_node, FrameNavigationEntry* frame_entry) const;
143 143
144 // Helper functions to construct NavigationParameters for a navigation to this 144 // Helper functions to construct NavigationParameters for a navigation to this
145 // NavigationEntry. 145 // NavigationEntry.
146 CommonNavigationParams ConstructCommonNavigationParams( 146 CommonNavigationParams ConstructCommonNavigationParams(
147 const GURL& dest_url, 147 const GURL& dest_url,
148 const Referrer& dest_referrer, 148 const Referrer& dest_referrer,
149 const FrameNavigationEntry& frame_entry, 149 const FrameNavigationEntry& frame_entry,
150 FrameMsg_Navigate_Type::Value navigation_type, 150 FrameMsg_Navigate_Type::Value navigation_type,
151 LoFiState lofi_state) const; 151 LoFiState lofi_state,
152 const base::TimeTicks& navigation_start) const;
152 StartNavigationParams ConstructStartNavigationParams() const; 153 StartNavigationParams ConstructStartNavigationParams() const;
153 RequestNavigationParams ConstructRequestNavigationParams( 154 RequestNavigationParams ConstructRequestNavigationParams(
154 const FrameNavigationEntry& frame_entry, 155 const FrameNavigationEntry& frame_entry,
155 base::TimeTicks navigation_start,
156 bool is_same_document_history_load, 156 bool is_same_document_history_load,
157 bool has_committed_real_load, 157 bool has_committed_real_load,
158 bool intended_as_new_entry, 158 bool intended_as_new_entry,
159 int pending_offset_to_send, 159 int pending_offset_to_send,
160 int current_offset_to_send, 160 int current_offset_to_send,
161 int current_length_to_send) const; 161 int current_length_to_send) const;
162 162
163 // Once a navigation entry is committed, we should no longer track several 163 // Once a navigation entry is committed, we should no longer track several
164 // pieces of non-persisted state, as documented on the members below. 164 // pieces of non-persisted state, as documented on the members below.
165 void ResetForCommit(); 165 void ResetForCommit();
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 // persisted, unless specific data is taken out/put back in at save/restore 478 // persisted, unless specific data is taken out/put back in at save/restore
479 // time (see TabNavigation for an example of this). 479 // time (see TabNavigation for an example of this).
480 std::map<std::string, base::string16> extra_data_; 480 std::map<std::string, base::string16> extra_data_;
481 481
482 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); 482 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl);
483 }; 483 };
484 484
485 } // namespace content 485 } // namespace content
486 486
487 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 487 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698