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

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

Issue 719733003: Add Navigation.MainFrameSchemeDifferentPage which excludes same-page navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Spacing Created 6 years, 1 month 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 | « no previous file | components/navigation_metrics/navigation_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b9b034dd7e49b8e779b0e55fc3351a8a82bdffbc..5e9149f3004b920ff60cc5db08504b8b7f33496d 100644
--- a/chrome/browser/tab_contents/navigation_metrics_recorder.cc
+++ b/chrome/browser/tab_contents/navigation_metrics_recorder.cc
@@ -29,7 +29,8 @@ NavigationMetricsRecorder::~NavigationMetricsRecorder() {
void NavigationMetricsRecorder::DidNavigateMainFrame(
const content::LoadCommittedDetails& details,
const content::FrameNavigateParams& params) {
- navigation_metrics::RecordMainFrameNavigation(details.entry->GetVirtualURL());
+ navigation_metrics::RecordMainFrameNavigation(details.entry->GetVirtualURL(),
+ details.is_in_page);
}
void NavigationMetricsRecorder::DidStartLoading(
« no previous file with comments | « no previous file | components/navigation_metrics/navigation_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698