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

Unified Diff: chrome/browser/tab_contents/navigation_metrics_recorder.cc

Issue 2716493004: Renamed NavigationHandle::IsSamePage to NavigationHandle::IsSameDocument (Closed)
Patch Set: Rebased Created 3 years, 9 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/tab_contents/navigation_metrics_recorder.cc
diff --git a/chrome/browser/tab_contents/navigation_metrics_recorder.cc b/chrome/browser/tab_contents/navigation_metrics_recorder.cc
index 02926d8c7a5589106bb728047a55de6f2df20c1e..1152f0b3397eced7ebddf97e461d55700179eb90 100644
--- a/chrome/browser/tab_contents/navigation_metrics_recorder.cc
+++ b/chrome/browser/tab_contents/navigation_metrics_recorder.cc
@@ -85,8 +85,9 @@ void NavigationMetricsRecorder::DidFinishNavigation(
bool have_already_seen_origin = service->Insert(origin);
navigation_metrics::RecordMainFrameNavigation(
- last_committed_entry->GetVirtualURL(), navigation_handle->IsSamePage(),
- context->IsOffTheRecord(), have_already_seen_origin);
+ last_committed_entry->GetVirtualURL(),
+ navigation_handle->IsSameDocument(), context->IsOffTheRecord(),
+ have_already_seen_origin);
// Record the domain and registry of the URL that resulted in a navigation to
// a |data:| URL, either by redirects or user clicking a link.

Powered by Google App Engine
This is Rietveld 408576698