| 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 81fac736701891bbec56d994748e991c836bb0cd..8ee3fdd80a8aeb4aae3ec7fd496eb3e746a524c9 100644
|
| --- a/chrome/browser/tab_contents/navigation_metrics_recorder.cc
|
| +++ b/chrome/browser/tab_contents/navigation_metrics_recorder.cc
|
| @@ -20,7 +20,6 @@
|
|
|
| #if defined(OS_WIN)
|
| #include "base/win/windows_version.h"
|
| -#include "chrome/browser/metro_utils/metro_chrome_win.h"
|
| #endif
|
|
|
| DEFINE_WEB_CONTENTS_USER_DATA_KEY(NavigationMetricsRecorder);
|
| @@ -49,23 +48,3 @@ void NavigationMetricsRecorder::DidNavigateMainFrame(
|
| details.previous_url);
|
| }
|
| }
|
| -
|
| -void NavigationMetricsRecorder::DidStartLoading() {
|
| -#if defined(OS_WIN) && defined(USE_ASH)
|
| - content::RenderViewHost* rvh = web_contents()->GetRenderViewHost();
|
| -
|
| - if (rvh && base::win::GetVersion() >= base::win::VERSION_WIN8) {
|
| - content::RenderWidgetHostView* rwhv = rvh->GetWidget()->GetView();
|
| - if (rwhv) {
|
| - gfx::NativeView native_view = rwhv->GetNativeView();
|
| - if (native_view) {
|
| - chrome::HostDesktopType desktop =
|
| - chrome::GetHostDesktopTypeForNativeView(native_view);
|
| - UMA_HISTOGRAM_ENUMERATION("Win8.PageLoad",
|
| - chrome::GetWin8Environment(desktop),
|
| - chrome::WIN_8_ENVIRONMENT_MAX);
|
| - }
|
| - }
|
| - }
|
| -#endif
|
| -}
|
|
|