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

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

Issue 1136553005: Revert of Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 "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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // tab) and one that draws them from a different pool (for use in a new tab). 124 // tab) and one that draws them from a different pool (for use in a new tab).
125 NavigationEntryImpl* Clone() const; 125 NavigationEntryImpl* Clone() const;
126 126
127 // Helper functions to construct NavigationParameters for a navigation to this 127 // Helper functions to construct NavigationParameters for a navigation to this
128 // NavigationEntry. 128 // NavigationEntry.
129 CommonNavigationParams ConstructCommonNavigationParams( 129 CommonNavigationParams ConstructCommonNavigationParams(
130 FrameMsg_Navigate_Type::Value navigation_type) const; 130 FrameMsg_Navigate_Type::Value navigation_type) const;
131 StartNavigationParams ConstructStartNavigationParams() const; 131 StartNavigationParams ConstructStartNavigationParams() const;
132 RequestNavigationParams ConstructRequestNavigationParams( 132 RequestNavigationParams ConstructRequestNavigationParams(
133 base::TimeTicks navigation_start, 133 base::TimeTicks navigation_start,
134 bool intended_as_new_entry,
135 int pending_offset_to_send, 134 int pending_offset_to_send,
136 int current_offset_to_send, 135 int current_offset_to_send,
137 int current_length_to_send) const; 136 int current_length_to_send) const;
138 137
139 // Once a navigation entry is committed, we should no longer track several 138 // Once a navigation entry is committed, we should no longer track several
140 // pieces of non-persisted state, as documented on the members below. 139 // pieces of non-persisted state, as documented on the members below.
141 void ResetForCommit(); 140 void ResetForCommit();
142 141
143 // Exposes the tree of FrameNavigationEntries that make up this joint session 142 // Exposes the tree of FrameNavigationEntries that make up this joint session
144 // history item. 143 // history item.
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // persisted, unless specific data is taken out/put back in at save/restore 430 // persisted, unless specific data is taken out/put back in at save/restore
432 // time (see TabNavigation for an example of this). 431 // time (see TabNavigation for an example of this).
433 std::map<std::string, base::string16> extra_data_; 432 std::map<std::string, base::string16> extra_data_;
434 433
435 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); 434 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl);
436 }; 435 };
437 436
438 } // namespace content 437 } // namespace content
439 438
440 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 439 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_unittest.cc ('k') | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698