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

Side by Side Diff: chrome/browser/chromeos/printing/printer_configuration.h

Issue 2161933003: Define printer configuration objects for Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | chrome/browser/chromeos/printing/printer_pref_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef CHROMEOS_PRINTING_PRINTER_CONFIG_H_
2 #define CHROMEOS_PRINTING_PRINTER_CONFIG_H_
3
4 namespace chromeos {
5
6 // Represents a Postscript Printer Description with which the printer was setup.
7 struct PPDFile {
8 // Identifier from the quirks server. -1 otherwise.
9 int id;
10
11 std::string file_name;
12
13 // If there is a file with a later version on the quirks server, that file
14 // should be used. The default value is 0.
15 int version_number;
16
17 // This will be true if the file was retrived from the quirks server.
18 // Otherwise, the file was saved to disk by the user.
19 bool from_quirks_server;
20 }
21
22 struct Printer {
23 // Globally unique identifier. Empty indicates a new printer.
24 std::string id;
xdai1 2016/07/19 19:09:43 Compared with PrinterBasicInfo (https://cs.chromiu
skau 2016/07/28 20:07:15 Description has been added. Status will come from
25
26 // The manufacturer of the printer. e.g. HP
27 std::string manufacturer;
28
29 // The model of the printer. e.g. OfficeJet 415
30 std::string model;
31
32 // The full path for the printer. Suitable for configuration in CUPS.
33 // Contains protocol, hostname, port, and queue.
34 std::string uri;
35
36 // The associated postscript printer description.
37 PPDFile ppd;
38 }
39
40 } // namespace chromeos
41
42 #endif // CHROMEOS_PRINTING_PRINTER_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/printing/printer_pref_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698