Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: printing/printed_document.cc

Issue 267001: Separate out some more ICU from base and into base/i18n.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/net_util.cc ('k') | printing/printing_context_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/base/net_util.cc ('k') | printing/printing_context_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698