OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "printing/printed_document.h" | 5 #include "printing/printed_document.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "app/gfx/font.h" | 9 #include "app/gfx/font.h" |
10 #include "app/gfx/text_elider.h" | 10 #include "app/gfx/text_elider.h" |
11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/i18n/file_util_icu.h" |
12 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
13 #include "base/singleton.h" | 14 #include "base/singleton.h" |
14 #include "base/string_util.h" | 15 #include "base/string_util.h" |
15 #include "base/time.h" | 16 #include "base/time.h" |
16 #include "base/time_format.h" | 17 #include "base/time_format.h" |
17 #include "printing/page_number.h" | 18 #include "printing/page_number.h" |
18 #include "printing/page_overlays.h" | 19 #include "printing/page_overlays.h" |
19 #include "printing/printed_pages_source.h" | 20 #include "printing/printed_pages_source.h" |
20 #include "printing/printed_page.h" | 21 #include "printing/printed_page.h" |
21 #include "printing/units.h" | 22 #include "printing/units.h" |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 date_ = win_util::FormatSystemDate(systemtime, std::wstring()); | 424 date_ = win_util::FormatSystemDate(systemtime, std::wstring()); |
424 time_ = win_util::FormatSystemTime(systemtime, std::wstring()); | 425 time_ = win_util::FormatSystemTime(systemtime, std::wstring()); |
425 #else // OS_WIN | 426 #else // OS_WIN |
426 Time now = Time::Now(); | 427 Time now = Time::Now(); |
427 date_ = base::TimeFormatShortDateNumeric(now); | 428 date_ = base::TimeFormatShortDateNumeric(now); |
428 time_ = base::TimeFormatTimeOfDay(now); | 429 time_ = base::TimeFormatTimeOfDay(now); |
429 #endif // OS_WIN | 430 #endif // OS_WIN |
430 } | 431 } |
431 | 432 |
432 } // namespace printing | 433 } // namespace printing |
OLD | NEW |