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
diff --git a/chrome/browser/printing/win_printing_context.cc b/chrome/browser/printing/win_printing_context.cc
index 1e3da12..cb275a8a 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 @@
// 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"_";