summaryrefslogtreecommitdiff
path: root/chromium/printing/backend/cups_ipp_utils.h
blob: 91c54bddb3cf046550db2b51c59ad9296b475970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2020 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.

// CUPS IPP utility methods

#ifndef PRINTING_BACKEND_CUPS_IPP_UTILS_H_
#define PRINTING_BACKEND_CUPS_IPP_UTILS_H_

#include <memory>

namespace base {
class Value;
}  // namespace base

namespace printing {

class CupsConnection;

// Creates a CUPS connection using |print_backend_settings|.
std::unique_ptr<CupsConnection> CreateConnection(
    const base::Value* print_backend_settings);

}  // namespace printing

#endif  // PRINTING_BACKEND_CUPS_IPP_UTILS_H_