| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/tab_contents/navigation_metrics_recorder.h" | 5 #include "chrome/browser/tab_contents/navigation_metrics_recorder.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram_macros.h" | 7 #include "base/metrics/histogram_macros.h" |
| 8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/ui/host_desktop.h" |
| 9 #include "components/navigation_metrics/navigation_metrics.h" | 10 #include "components/navigation_metrics/navigation_metrics.h" |
| 10 #include "components/rappor/rappor_utils.h" | 11 #include "components/rappor/rappor_utils.h" |
| 11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 12 #include "content/public/browser/navigation_details.h" | 13 #include "content/public/browser/navigation_details.h" |
| 13 #include "content/public/browser/navigation_entry.h" | 14 #include "content/public/browser/navigation_entry.h" |
| 14 #include "content/public/browser/render_view_host.h" | 15 #include "content/public/browser/render_view_host.h" |
| 15 #include "content/public/browser/render_widget_host_view.h" | 16 #include "content/public/browser/render_widget_host_view.h" |
| 16 #include "content/public/common/frame_navigate_params.h" | 17 #include "content/public/common/frame_navigate_params.h" |
| 17 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 18 | 19 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 ui::HostDesktopType desktop = | 61 ui::HostDesktopType desktop = |
| 61 chrome::GetHostDesktopTypeForNativeView(native_view); | 62 chrome::GetHostDesktopTypeForNativeView(native_view); |
| 62 UMA_HISTOGRAM_ENUMERATION("Win8.PageLoad", | 63 UMA_HISTOGRAM_ENUMERATION("Win8.PageLoad", |
| 63 chrome::GetWin8Environment(desktop), | 64 chrome::GetWin8Environment(desktop), |
| 64 chrome::WIN_8_ENVIRONMENT_MAX); | 65 chrome::WIN_8_ENVIRONMENT_MAX); |
| 65 } | 66 } |
| 66 } | 67 } |
| 67 } | 68 } |
| 68 #endif | 69 #endif |
| 69 } | 70 } |
| OLD | NEW |