summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/print_preview/printer_handler.cc
blob: edc85d18349541b62c707eecb5c2aa50380b763b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/webui/print_preview/printer_handler.h"

#include "base/threading/worker_pool.h"
#include "chrome/browser/ui/webui/print_preview/extension_printer_handler.h"

// static
scoped_ptr<PrinterHandler> PrinterHandler::CreateForExtensionPrinters(
    content::BrowserContext* browser_context) {
  return scoped_ptr<ExtensionPrinterHandler>(new ExtensionPrinterHandler(
      browser_context, base::WorkerPool::GetTaskRunner(true)));
}