summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/printing/print_test_utils.h
blob: fd1802ed5e4c2e96590b1a7b7d0894485e3d4bac (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
// Copyright 2018 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.

#ifndef CHROME_BROWSER_PRINTING_PRINT_TEST_UTILS_H_
#define CHROME_BROWSER_PRINTING_PRINT_TEST_UTILS_H_

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

namespace base {
class Value;
}

namespace printing {

extern const char kDummyPrinterName[];
const int kTestPrinterDpi = 600;

// Creates a print ticket with some default values. Based on ticket creation in
// chrome/browser/resources/print_preview/native_layer.js.
base::Value GetPrintTicket(PrinterType type, bool cloud);

}  // namespace printing

#endif  // CHROME_BROWSER_PRINTING_PRINT_TEST_UTILS_H_