OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_ | 5 #ifndef CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_ |
6 #define CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_ | 6 #define CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_ |
7 | 7 |
8 namespace chromeos { | 8 namespace chromeos { |
9 namespace printing { | |
10 | 9 |
11 // Maximum size of a PPD file that we will accept, currently 250k. This number | 10 // Maximum size of a PPD file that we will accept, currently 250k. This number |
12 // is relatively | 11 // is relatively |
13 // arbitrary, we just don't want to try to handle ridiculously huge files. | 12 // arbitrary, we just don't want to try to handle ridiculously huge files. |
14 constexpr size_t kMaxPpdSizeBytes = 250 * 1024; | 13 constexpr size_t kMaxPpdSizeBytes = 250 * 1024; |
15 | 14 |
16 } // namespace printing | |
17 } // namespace chromeos | 15 } // namespace chromeos |
18 | 16 |
19 #endif // CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_ | 17 #endif // CHROMEOS_PRINTING_PRINTING_CONSTANTS_H_ |
OLD | NEW |