| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 33171bd52068c79c83b9d92ee6f6d5ff38a60685..25c47def88992e04d5e30a76851f3f3565e1dd19 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -53,6 +53,7 @@
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h"
|
| #include "chrome/browser/notifications/platform_notification_service_impl.h"
|
| +#include "chrome/browser/page_load_metrics/metrics_navigation_throttle.h"
|
| #include "chrome/browser/password_manager/chrome_password_manager_client.h"
|
| #include "chrome/browser/permissions/permission_context_base.h"
|
| #include "chrome/browser/platform_util.h"
|
| @@ -2905,6 +2906,11 @@ ScopedVector<content::NavigationThrottle>
|
| ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
| content::NavigationHandle* handle) {
|
| ScopedVector<content::NavigationThrottle> throttles;
|
| + if (handle->IsInMainFrame()) {
|
| + throttles.push_back(
|
| + page_load_metrics::MetricsNavigationThrottle::Create(handle));
|
| + }
|
| +
|
| #if defined(OS_ANDROID)
|
| // TODO(davidben): This is insufficient to integrate with prerender properly.
|
| // https://crbug.com/370595
|
|
|