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 1152f0b3397eced7ebddf97e461d55700179eb90..a7b40faaef812daa0a466a6d0cee2ab099814411 100644 |
--- a/chrome/browser/tab_contents/navigation_metrics_recorder.cc |
+++ b/chrome/browser/tab_contents/navigation_metrics_recorder.cc |
@@ -95,6 +95,7 @@ void NavigationMetricsRecorder::DidFinishNavigation( |
!ui::PageTransitionCoreTypeIs(navigation_handle->GetPageTransition(), |
ui::PAGE_TRANSITION_TYPED)) { |
if (!navigation_handle->GetPreviousURL().is_empty()) { |
+ // TODO(meacer): Remove once data URL navigations are blocked. |
rappor::SampleDomainAndRegistryFromGURL( |
rappor_service_, "Navigation.Scheme.Data", |
navigation_handle->GetPreviousURL()); |
@@ -103,6 +104,7 @@ void NavigationMetricsRecorder::DidFinishNavigation( |
// Also record the mime type of the data: URL. |
std::string mime_type; |
std::string charset; |
+ // TODO(meacer): Remove once data URL navigations are blocked. |
if (net::DataURL::Parse(last_committed_entry->GetVirtualURL(), &mime_type, |
&charset, nullptr)) { |
RecordDataURLMimeType(mime_type); |