From 5cca3a55b3f1c25c5b3a19c3b42227aae34e4abf Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Tue, 19 Aug 2008 22:35:29 +0000 Subject: Move time formatters that only use ICU into base/time.* This allows us to use the time formatters in, e.g., net or webkit. Remove CookieExpires since it's not used. BUG=1164516 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1063 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/page_info_window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/page_info_window.cc') diff --git a/chrome/browser/page_info_window.cc b/chrome/browser/page_info_window.cc index b27f2ba..6a4bd25 100644 --- a/chrome/browser/page_info_window.cc +++ b/chrome/browser/page_info_window.cc @@ -33,6 +33,7 @@ #pragma comment(lib, "cryptui.lib") #include "base/string_util.h" +#include "base/time_format.h" #include "chrome/app/locales/locale_settings.h" #include "chrome/app/theme/theme_resources.h" #include "chrome/browser/browser_process.h" @@ -46,7 +47,6 @@ #include "chrome/common/pref_names.h" #include "chrome/common/pref_service.h" #include "chrome/common/resource_bundle.h" -#include "chrome/common/time_format.h" #include "chrome/common/win_util.h" #include "chrome/views/background.h" #include "chrome/views/grid_layout.h" @@ -445,7 +445,7 @@ void SecurityTabView::OnGotVisitCountToHost(HistoryService::Handle handle, l10n_util::GetString(IDS_PAGE_INFO_SECURITY_TAB_PERSONAL_HISTORY_TITLE), true, std::wstring(), l10n_util::GetStringF(IDS_PAGE_INFO_SECURITY_TAB_VISITED_BEFORE_TODAY, - TimeFormat::ShortDate(first_visit))); + base::TimeFormatShortDate(first_visit))); } Layout(); SchedulePaint(); -- cgit v1.1