| Index: chromeos/printing/printing_constants.h
|
| diff --git a/chromeos/printing/printing_constants.h b/chromeos/printing/printing_constants.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..65e32299a1a4fa018fc86582deefe44c38664414
|
| --- /dev/null
|
| +++ b/chromeos/printing/printing_constants.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2016 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 CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_
|
| +#define CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_
|
| +
|
| +namespace chromeos {
|
| +namespace printing {
|
| +
|
| +// Maximum size of a PPD file that we will accept, currently 250k. This number
|
| +// is relatively
|
| +// arbitrary, we just don't want to try to handle ridiculously huge files.
|
| +constexpr size_t kMaxPpdSizeBytes = 250 * 1024;
|
| +
|
| +} // namespace printing
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_
|
|
|