From 553dba6dd707ee02e609910462d2b7977f284af2 Mon Sep 17 00:00:00 2001 From: "dsh@google.com" Date: Tue, 24 Feb 2009 19:08:23 +0000 Subject: Use string for Histogram names since these are all ASCII anyway. Wide-character literals cause problems between platforms. Review URL: http://codereview.chromium.org/28046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10276 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/dom_ui/new_tab_ui.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/dom_ui/new_tab_ui.cc') diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index 506d525..e0cfd44 100644 --- a/chrome/browser/dom_ui/new_tab_ui.cc +++ b/chrome/browser/dom_ui/new_tab_ui.cc @@ -90,7 +90,7 @@ class PaintTimer : public RenderWidgetHost::PaintObserver { NotificationType::INITIAL_NEW_TAB_UI_LOAD, NotificationService::AllSources(), Details(&load_time_ms)); - UMA_HISTOGRAM_TIMES(L"NewTabUI load", load_time); + UMA_HISTOGRAM_TIMES("NewTabUI load", load_time); } else { // Not enough quiet time has elapsed. // Some more paints must've occurred since we set the timeout. @@ -480,7 +480,7 @@ void TemplateURLHandler::OnTemplateURLModelChanged() { urls_value.Append(entry_value); } - UMA_HISTOGRAM_COUNTS(L"NewTabPage.SearchURLs.Total", urls_value.GetSize()); + UMA_HISTOGRAM_COUNTS("NewTabPage.SearchURLs.Total", urls_value.GetSize()); dom_ui_host_->CallJavascriptFunction(L"searchURLs", urls_value); } -- cgit v1.1