Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7058)

Unified Diff: chrome/browser/tab_contents/navigation_metrics_recorder.cc

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 adcbf94e570c07ce790390303727763efe2ba39e..d6b0011ba4572eb6cc68fa08c5ef24813b3e1cd4 100644
--- a/chrome/browser/tab_contents/navigation_metrics_recorder.cc
+++ b/chrome/browser/tab_contents/navigation_metrics_recorder.cc
@@ -57,7 +57,7 @@ void NavigationMetricsRecorder::DidStartLoading() {
if (rwhv) {
gfx::NativeView native_view = rwhv->GetNativeView();
if (native_view) {
- chrome::HostDesktopType desktop =
+ ui::HostDesktopType desktop =
chrome::GetHostDesktopTypeForNativeView(native_view);
UMA_HISTOGRAM_ENUMERATION("Win8.PageLoad",
chrome::GetWin8Environment(desktop),

Powered by Google App Engine
This is Rietveld 408576698