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 "build/build_config.h" |
8 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.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.h" | 16 #include "content/public/browser/render_widget_host.h" |
16 #include "content/public/browser/render_widget_host_view.h" | 17 #include "content/public/browser/render_widget_host_view.h" |
17 #include "content/public/common/frame_navigate_params.h" | 18 #include "content/public/common/frame_navigate_params.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 chrome::HostDesktopType desktop = | 62 chrome::HostDesktopType desktop = |
62 chrome::GetHostDesktopTypeForNativeView(native_view); | 63 chrome::GetHostDesktopTypeForNativeView(native_view); |
63 UMA_HISTOGRAM_ENUMERATION("Win8.PageLoad", | 64 UMA_HISTOGRAM_ENUMERATION("Win8.PageLoad", |
64 chrome::GetWin8Environment(desktop), | 65 chrome::GetWin8Environment(desktop), |
65 chrome::WIN_8_ENVIRONMENT_MAX); | 66 chrome::WIN_8_ENVIRONMENT_MAX); |
66 } | 67 } |
67 } | 68 } |
68 } | 69 } |
69 #endif | 70 #endif |
70 } | 71 } |
OLD | NEW |