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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h

Issue 2644133005: Include all server redirects in referrer chain (Closed)
Patch Set: proto change and adding two histograms Created 3 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: chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h b/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
index b3d0c3055a480d446ce44a76baadd218e8faae1d..b4996130aa6e2dc82eeebe878b24a11f71ffbfa8 100644
--- a/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
+++ b/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
@@ -103,6 +103,7 @@ class SafeBrowsingNavigationObserverManager
// to |out_referrer_chain|.
AttributionResult IdentifyReferrerChainForPPAPIDownload(
const GURL& initiating_frame_url,
+ const GURL& initiating_main_frame_url,
int tab_id,
bool has_user_gesture,
int user_gesture_count_limit,
@@ -183,6 +184,7 @@ class SafeBrowsingNavigationObserverManager
void AddToReferrerChain(ReferrerChain* referrer_chain,
NavigationEvent* nav_event,
+ const GURL& destination_main_frame_url,
ReferrerChainEntry::URLType type);
// Helper function to get the remaining referrer chain when we've already

Powered by Google App Engine
This is Rietveld 408576698