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

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: Fix android unit test (state_serializer_unittests.cc). Created 6 years, 11 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
Index: components/sessions/serialized_navigation_entry.h
diff --git a/components/sessions/serialized_navigation_entry.h b/components/sessions/serialized_navigation_entry.h
index d4d1fd9a60220d5214e6f132fb7b693f0aeb022d..923c9139de8915bd6357ce2ad82c61541fc45f53 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;
}
+ 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
@@ -151,6 +152,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
base::string16 search_terms_;
GURL favicon_url_;
int http_status_code_;
+ std::vector<GURL> redirect_chain_;
// Additional information.
BlockedState blocked_state_;

Powered by Google App Engine
This is Rietveld 408576698