Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: chromeos/printing/printing_constants.h

Issue 2975013002: Make chromeos CUPS printing code namespaces consistent. (Closed)
Patch Set: Rebase Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/printing/printer_translator_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « chromeos/printing/printer_translator_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698