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/printing_context.h" | 5 #include "printing/printing_context.h" |
6 | 6 |
7 #include <winspool.h> | 7 #include <winspool.h> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/i18n/file_util_icu.h" |
10 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
11 #include "base/time.h" | 12 #include "base/time.h" |
12 #include "base/time_format.h" | 13 #include "base/time_format.h" |
13 #include "printing/printed_document.h" | 14 #include "printing/printed_document.h" |
14 #include "skia/ext/platform_device_win.h" | 15 #include "skia/ext/platform_device_win.h" |
15 | 16 |
16 using base::Time; | 17 using base::Time; |
17 | 18 |
18 namespace { | 19 namespace { |
19 | 20 |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 | 602 |
602 if (dialog_options.hDevMode != NULL) | 603 if (dialog_options.hDevMode != NULL) |
603 GlobalFree(dialog_options.hDevMode); | 604 GlobalFree(dialog_options.hDevMode); |
604 if (dialog_options.hDevNames != NULL) | 605 if (dialog_options.hDevNames != NULL) |
605 GlobalFree(dialog_options.hDevNames); | 606 GlobalFree(dialog_options.hDevNames); |
606 | 607 |
607 return hdc_ ? OK : FAILED; | 608 return hdc_ ? OK : FAILED; |
608 } | 609 } |
609 | 610 |
610 } // namespace printing | 611 } // namespace printing |
OLD | NEW |