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

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

Issue 2686773002: In previous implementation, if the server does the more than one server redirects, we only record t… (Closed)
Patch Set: Created 3 years, 10 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 1321c434b7b99b86fd636dcc22899fd7980b180a..f8d2910c13620de28a62139483a88f33349dcc70 100644
--- a/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
+++ b/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
@@ -118,6 +118,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,
@@ -198,6 +199,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