| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "base/file_util.h" | 13 #include "base/file_util.h" |
| 14 #include "base/i18n/file_util_icu.h" | 14 #include "base/i18n/file_util_icu.h" |
| 15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
| 16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
| 17 #include "base/stringprintf.h" |
| 17 #include "base/string_util.h" | 18 #include "base/string_util.h" |
| 18 #include "base/utf_string_conversions.h" | 19 #include "base/utf_string_conversions.h" |
| 19 #include "base/i18n/time_formatting.h" | 20 #include "base/i18n/time_formatting.h" |
| 20 #include "printing/page_number.h" | 21 #include "printing/page_number.h" |
| 21 #include "printing/page_overlays.h" | 22 #include "printing/page_overlays.h" |
| 22 #include "printing/printed_pages_source.h" | 23 #include "printing/printed_pages_source.h" |
| 23 #include "printing/printed_page.h" | 24 #include "printing/printed_page.h" |
| 24 #include "printing/units.h" | 25 #include "printing/units.h" |
| 25 #include "skia/ext/platform_device.h" | 26 #include "skia/ext/platform_device.h" |
| 26 #include "ui/base/text/text_elider.h" | 27 #include "ui/base/text/text_elider.h" |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 name_(source->RenderSourceName()), | 303 name_(source->RenderSourceName()), |
| 303 url_(source->RenderSourceUrl()), | 304 url_(source->RenderSourceUrl()), |
| 304 cookie_(cookie) { | 305 cookie_(cookie) { |
| 305 SetDocumentDate(); | 306 SetDocumentDate(); |
| 306 } | 307 } |
| 307 | 308 |
| 308 PrintedDocument::Immutable::~Immutable() { | 309 PrintedDocument::Immutable::~Immutable() { |
| 309 } | 310 } |
| 310 | 311 |
| 311 } // namespace printing | 312 } // namespace printing |
| OLD | NEW |