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

Unified Diff: content/public/browser/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 | « content/browser/frame_host/navigator_impl.cc ('k') | content/public/common/page_transition_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index f573a2aef2b4fdf4c832888156d784c23252d174..6d69b0de4bc2557aa36a60cba1497133abe08635 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -210,6 +210,11 @@ class NavigationEntry {
virtual void SetHttpStatusCode(int http_status_code) = 0;
virtual int GetHttpStatusCode() const = 0;
+ // The redirect chain traversed during this navigation, from the initial
+ // redirecting URL to the final non-redirecting current URL.
+ virtual void SetRedirectChain(const std::vector<GURL>& redirects) = 0;
+ virtual const std::vector<GURL>& GetRedirectChain() const = 0;
+
// True if this entry is restored and hasn't been loaded.
virtual bool IsRestored() const = 0;
};
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/public/common/page_transition_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698