diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-19 22:35:29 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-19 22:35:29 +0000 |
commit | 5cca3a55b3f1c25c5b3a19c3b42227aae34e4abf (patch) | |
tree | 01cd3db90399f7c24d3aea3593fd2d5feb35f106 /chrome/browser/printing | |
parent | aac13f594195df51eb1e4e35ea2863659cb4de54 (diff) | |
download | chromium_src-5cca3a55b3f1c25c5b3a19c3b42227aae34e4abf.zip chromium_src-5cca3a55b3f1c25c5b3a19c3b42227aae34e4abf.tar.gz chromium_src-5cca3a55b3f1c25c5b3a19c3b42227aae34e4abf.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/printing')
-rw-r--r-- | chrome/browser/printing/win_printing_context.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/printing/win_printing_context.cc b/chrome/browser/printing/win_printing_context.cc index 1e3da12..cb275a8 100644 --- a/chrome/browser/printing/win_printing_context.cc +++ b/chrome/browser/printing/win_printing_context.cc @@ -33,10 +33,10 @@ #include "base/file_util.h" #include "base/gfx/platform_device_win.h" +#include "base/time_format.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/printing/print_job_manager.h" #include "chrome/common/gfx/emf.h" -#include "chrome/common/time_format.h" namespace { @@ -304,9 +304,9 @@ PrintingContext::Result PrintingContext::NewDocument( // Create a filename. std::wstring filename; Time now(Time::Now()); - filename = TimeFormat::ShortDateNumeric(now); + filename = base::TimeFormatShortDateNumeric(now); filename += L"_"; - filename += TimeFormat::TimeOfDay(now); + filename += base::TimeFormatTimeOfDay(now); filename += L"_"; filename += document_name; filename += L"_"; |