Chromium Code Reviews| 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 // Sync protocol datatype extension for printer data. | 5 // Sync protocol datatype extension for printer data. |
| 6 | 6 |
| 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
| 8 // any fields in this file. | 8 // any fields in this file. |
| 9 | 9 |
| 10 syntax = "proto2"; | 10 syntax = "proto2"; |
| 11 | 11 |
| 12 option optimize_for = LITE_RUNTIME; | 12 option optimize_for = LITE_RUNTIME; |
| 13 | 13 |
| 14 package sync_pb; | 14 package sync_pb; |
| 15 | 15 |
| 16 // User PPD configuration | 16 // User PPD configuration |
| 17 message PrinterPPDReference { | 17 message PrinterPPDReference { |
| 18 // Url for user provided file. Overrides other fields. | 18 // Url for user provided file. Overrides other fields. |
| 19 optional string user_supplied_ppd_url = 1; | 19 optional string user_supplied_ppd_url = 1; |
| 20 | 20 |
| 21 // Make and model to reference into PPD Server. | 21 // FIELD 2 RETIRED |
|
skau
2017/01/27 01:37:02
If it compiles (it was supposed to be fixed) can w
Carlson
2017/01/27 18:48:43
Done.
| |
| 22 optional string effective_manufacturer = 2; | 22 // FIELD 3 RETIRED |
| 23 optional string effective_model = 3; | 23 |
| 24 // Key used to find a ppd for this printer from the ppd server. | |
| 25 optional string ppd_server_key = 4; | |
| 24 } | 26 } |
| 25 | 27 |
| 26 message PrinterSpecifics { | 28 message PrinterSpecifics { |
| 27 // Printer record GUID | 29 // Printer record GUID |
| 28 optional string id = 1; | 30 optional string id = 1; |
| 29 | 31 |
| 30 // User visible name. Any string. | 32 // User visible name. Any string. |
| 31 optional string display_name = 2; | 33 optional string display_name = 2; |
| 32 | 34 |
| 33 // User visible description. Any string. | 35 // User visible description. Any string. |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 47 // Universally Unique Identifier provided by the printer. Used for unique | 49 // Universally Unique Identifier provided by the printer. Used for unique |
| 48 // identification of printers in a zeroconf environment. | 50 // identification of printers in a zeroconf environment. |
| 49 optional string uuid = 7; | 51 optional string uuid = 7; |
| 50 | 52 |
| 51 // PPDData was deprecated in favor of PPDReference format. | 53 // PPDData was deprecated in favor of PPDReference format. |
| 52 optional bytes ppd = 8 [deprecated = true]; | 54 optional bytes ppd = 8 [deprecated = true]; |
| 53 | 55 |
| 54 // Structure representing the user's ppd configuration. | 56 // Structure representing the user's ppd configuration. |
| 55 optional PrinterPPDReference ppd_reference = 9; | 57 optional PrinterPPDReference ppd_reference = 9; |
| 56 } | 58 } |
| OLD | NEW |