1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/webui/print_preview/printer_handler.h"
7 #include "base/threading/worker_pool.h"
8 #include "chrome/browser/ui/webui/print_preview/extension_printer_handler.h"
11 scoped_ptr
<PrinterHandler
> PrinterHandler::CreateForExtensionPrinters(
12 content::BrowserContext
* browser_context
) {
13 return scoped_ptr
<ExtensionPrinterHandler
>(new ExtensionPrinterHandler(
14 browser_context
, base::WorkerPool::GetTaskRunner(true)));