| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/local_discovery/pwg_raster_converter.h" | 5 #include "chrome/browser/local_discovery/pwg_raster_converter.h" |
| 6 | 6 |
| 7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
| 8 #include "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| 11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "chrome/common/chrome_utility_messages.h" | 13 #include "chrome/common/chrome_utility_messages.h" |
| 14 #include "chrome/common/chrome_utility_printing_messages.h" |
| 14 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
| 15 #include "content/public/browser/child_process_data.h" | 16 #include "content/public/browser/child_process_data.h" |
| 16 #include "content/public/browser/utility_process_host.h" | 17 #include "content/public/browser/utility_process_host.h" |
| 17 #include "content/public/browser/utility_process_host_client.h" | 18 #include "content/public/browser/utility_process_host_client.h" |
| 19 #include "printing/pdf_render_settings.h" |
| 20 #include "printing/pwg_raster_settings.h" |
| 18 | 21 |
| 19 namespace local_discovery { | 22 namespace local_discovery { |
| 20 | 23 |
| 21 namespace { | 24 namespace { |
| 22 | 25 |
| 23 using content::BrowserThread; | 26 using content::BrowserThread; |
| 24 | 27 |
| 25 class FileHandlers { | 28 class FileHandlers { |
| 26 public: | 29 public: |
| 27 FileHandlers() {} | 30 FileHandlers() {} |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 } | 280 } |
| 278 | 281 |
| 279 } // namespace | 282 } // namespace |
| 280 | 283 |
| 281 // static | 284 // static |
| 282 scoped_ptr<PWGRasterConverter> PWGRasterConverter::CreateDefault() { | 285 scoped_ptr<PWGRasterConverter> PWGRasterConverter::CreateDefault() { |
| 283 return scoped_ptr<PWGRasterConverter>(new PWGRasterConverterImpl()); | 286 return scoped_ptr<PWGRasterConverter>(new PWGRasterConverterImpl()); |
| 284 } | 287 } |
| 285 | 288 |
| 286 } // namespace local_discovery | 289 } // namespace local_discovery |
| OLD | NEW |