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

Unified Diff: content/browser/frame_host/navigation_controller_impl.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: content/browser/frame_host/navigation_controller_impl.h
diff --git a/content/browser/frame_host/navigation_controller_impl.h b/content/browser/frame_host/navigation_controller_impl.h
index e9206b4b72430269b023cc1017832b0c51c7e43b..4fab08e0d27ab2ab5699251cf3c18780dd5319cf 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -208,6 +208,13 @@ class CONTENT_EXPORT NavigationControllerImpl
// Discards only the pending entry.
void DiscardPendingEntry();
+ // Produces a redirect chain by merging the active entry redirects with the
+ // redirects given in the params, taking into account the type of navigation
+ // specified in the params.
+ std::vector<GURL> GetMergedRedirectChain(
+ const ViewHostMsg_FrameNavigate_Params& params,
+ const std::vector<GURL>& active_entry_redirects) const;
+
private:
friend class RestoreHelper;

Powered by Google App Engine
This is Rietveld 408576698