OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/ui/webui/print_preview/printer_backend_proxy.h" | 5 #include "chrome/browser/ui/webui/print_preview/printer_backend_proxy.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
| 14 #include "base/threading/sequenced_worker_pool.h" |
14 #include "base/values.h" | 15 #include "base/values.h" |
15 #include "chrome/browser/chromeos/printing/cups_print_job_manager.h" | 16 #include "chrome/browser/chromeos/printing/cups_print_job_manager.h" |
16 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" | 17 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" |
17 #include "chrome/browser/chromeos/printing/ppd_provider_factory.h" | 18 #include "chrome/browser/chromeos/printing/ppd_provider_factory.h" |
18 #include "chrome/browser/chromeos/printing/printers_manager.h" | 19 #include "chrome/browser/chromeos/printing/printers_manager.h" |
19 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" | 20 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" |
20 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
21 #include "chrome/browser/ui/webui/print_preview/printer_capabilities.h" | 22 #include "chrome/browser/ui/webui/print_preview/printer_capabilities.h" |
22 #include "chrome/common/chrome_switches.h" | 23 #include "chrome/common/chrome_switches.h" |
23 #include "chromeos/dbus/dbus_thread_manager.h" | 24 #include "chromeos/dbus/dbus_thread_manager.h" |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 }; | 230 }; |
230 | 231 |
231 } // namespace | 232 } // namespace |
232 | 233 |
233 std::unique_ptr<PrinterBackendProxy> PrinterBackendProxy::Create( | 234 std::unique_ptr<PrinterBackendProxy> PrinterBackendProxy::Create( |
234 Profile* profile) { | 235 Profile* profile) { |
235 return base::MakeUnique<PrinterBackendProxyChromeos>(profile); | 236 return base::MakeUnique<PrinterBackendProxyChromeos>(profile); |
236 } | 237 } |
237 | 238 |
238 } // namespace printing | 239 } // namespace printing |
OLD | NEW |