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

Side by Side Diff: components/sync/protocol/printer_specifics.proto

Issue 2613683004: Completely rewrite the PpdProvider/PpdCache to use the SCS backend. Along the way, clean it up a l… (Closed)
Patch Set: Address latest skau comments, rebase and make it work with recent sync changes Created 3 years, 10 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
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 // 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 // Retired fields
22 optional string effective_manufacturer = 2; 22 reserved 2 to 4;
skau 2017/01/27 19:16:10 You can use 4. We never committed a CL that reser
Carlson 2017/01/27 22:56:22 Indeed, that was used in a previous revision of *t
23 optional string effective_model = 3; 23
24 // String identifying the type of printer, used to look up a ppd to drive the
25 // printer.
26 optional string effective_make_and_model = 5;
24 } 27 }
25 28
26 message PrinterSpecifics { 29 message PrinterSpecifics {
27 // Printer record GUID 30 // Printer record GUID
28 optional string id = 1; 31 optional string id = 1;
29 32
30 // User visible name. Any string. 33 // User visible name. Any string.
31 optional string display_name = 2; 34 optional string display_name = 2;
32 35
33 // User visible description. Any string. 36 // User visible description. Any string.
(...skipping 16 matching lines...) Expand all
50 53
51 // PPDData was deprecated in favor of PPDReference format. 54 // PPDData was deprecated in favor of PPDReference format.
52 optional bytes ppd = 8 [deprecated = true]; 55 optional bytes ppd = 8 [deprecated = true];
53 56
54 // Structure representing the user's ppd configuration. 57 // Structure representing the user's ppd configuration.
55 optional PrinterPPDReference ppd_reference = 9; 58 optional PrinterPPDReference ppd_reference = 9;
56 59
57 // Timestamp when printer was last updated. 60 // Timestamp when printer was last updated.
58 optional int64 updated_timestamp = 10; 61 optional int64 updated_timestamp = 10;
59 } 62 }
OLDNEW
« no previous file with comments | « chromeos/printing/printer_translator_unittest.cc ('k') | components/sync/protocol/proto_visitors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698