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

Unified Diff: components/sessions/serialized_navigation_entry.h

Issue 101573003: Add the navigation redirect-chain to Sync sessions proto for offline analysis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Brett's comment on patch set 46, and rebase. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/sessions/serialized_navigation_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/serialized_navigation_entry.h
diff --git a/components/sessions/serialized_navigation_entry.h b/components/sessions/serialized_navigation_entry.h
index 859d39fa40582496908272ba1d7c7d424b8076e4..0582c7e2d862d564807493a07ecc8a97ef1d71b0 100644
--- a/components/sessions/serialized_navigation_entry.h
+++ b/components/sessions/serialized_navigation_entry.h
@@ -122,6 +122,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
const std::set<std::string>& content_pack_categories) {
content_pack_categories_ = content_pack_categories;
}
+ const std::vector<GURL>& redirect_chain() const { return redirect_chain_; }
// Converts a set of SerializedNavigationEntrys into a list of
// NavigationEntrys with sequential page IDs and the given context. The caller
@@ -156,6 +157,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
GURL favicon_url_;
int http_status_code_;
bool is_restored_; // Not persisted.
+ std::vector<GURL> redirect_chain_; // Not persisted.
// Additional information.
BlockedState blocked_state_;
« no previous file with comments | « no previous file | components/sessions/serialized_navigation_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698