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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2792673002: Remove effective_manufacturer frome printer policy object. (Closed)
Patch Set: Created 3 years, 8 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 | 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 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 9329 matching lines...) Expand 10 before | Expand all | Expand 10 after
9340 'display_name': { 'type': 'string' }, 9340 'display_name': { 'type': 'string' },
9341 'description': { 'type': 'string' }, 9341 'description': { 'type': 'string' },
9342 'manufacturer': { 'type': 'string' }, 9342 'manufacturer': { 'type': 'string' },
9343 'model': { 'type': 'string' }, 9343 'model': { 'type': 'string' },
9344 'uri': { 'type': 'string' }, 9344 'uri': { 'type': 'string' },
9345 'uuid': { 'type': 'string' }, 9345 'uuid': { 'type': 'string' },
9346 'ppd_resource': { 9346 'ppd_resource': {
9347 'type': 'object', 9347 'type': 'object',
9348 'id': 'PpdResource', 9348 'id': 'PpdResource',
9349 'properties': { 9349 'properties': {
9350 'effective_manufacturer': { 'type': 'string' },
9351 'effective_model': { 'type': 'string' } 9350 'effective_model': { 'type': 'string' }
9352 } 9351 }
9353 } 9352 }
9354 } 9353 }
9355 } 9354 }
9356 }, 9355 },
9357 'supported_on': [ 'chrome_os:56-' ], 9356 'supported_on': [ 'chrome_os:57-' ],
9358 'features': { 9357 'features': {
9359 'dynamic_refresh': True, 9358 'dynamic_refresh': True,
9360 'per_profile': True, 9359 'per_profile': True,
9361 }, 9360 },
9362 'example_value': [{ 9361 'example_value': [{
9363 "display_name": "Color Laser", 9362 "display_name": "Color Laser",
9364 "description": "The printer next to the water cooler.", 9363 "description": "The printer next to the water cooler.",
9365 "manufacturer": "Printer Manufacturer", 9364 "manufacturer": "Printer Manufacturer",
9366 "model": "Color Laser 2004", 9365 "model": "Color Laser 2004",
9367 "uri": "ipps://print-server.intranet.example.com:443/ipp/cl2k4", 9366 "uri": "ipps://print-server.intranet.example.com:443/ipp/cl2k4",
9368 "uuid": "1c395fdb-5d93-4904-b246-b2c046e79d12", 9367 "uuid": "1c395fdb-5d93-4904-b246-b2c046e79d12",
9369 "ppd_resource": { 9368 "ppd_resource": {
9370 "effective_manufacturer": "MakesPrinters", 9369 "effective_model": "Printer Manufacturer ColorLaser2k4"
9371 "effective_model": "ColorLaser2k4"
9372 } 9370 }
9373 }], 9371 }],
9374 'id': 350, 9372 'id': 350,
9375 'caption': '''Native Printing''', 9373 'caption': '''Native Printing''',
9376 'tags': [], 9374 'tags': [],
9377 'desc': '''Configures a list of printers. 9375 'desc': '''Configures a list of printers.
9378 9376
9379 This policy allows administrators to provide printer configurations for 9377 This policy allows administrators to provide printer configurations for
9380 their users. 9378 their users.
9381 9379
9382 <ph name="PRINTER_DISPLAY_NAME">display_name</ph> and <ph 9380 <ph name="PRINTER_DISPLAY_NAME">display_name</ph> and <ph
9383 name="PRINTER_DESCRIPTION">description</ph> are free form strings that 9381 name="PRINTER_DESCRIPTION">description</ph> are free form strings that
9384 can be customized for ease of printer selection. <ph 9382 can be customized for ease of printer selection. <ph
9385 name="PRINTER_MANUFACTURER">manufacturer</ph> and <ph 9383 name="PRINTER_MANUFACTURER">manufacturer</ph> and <ph
9386 name="PRINTER_MODEL">model</ph> should match one of the <ph 9384 name="PRINTER_MODEL">model</ph> serve to ease printer identification by
9387 name="PRODUCT_NAME">$2<ex>Google Chrome OS</ex></ph> supported 9385 end users. They represent the manufcaturer and model of the printer. <ph
9388 printers. <ph name="PRINTER_URI">uri</ph> should be an address reachable 9386 name="PRINTER_URI">uri</ph> should be an address reachable
9389 from a client computer including the <ph name="URI_SCHEME">scheme</ph>, 9387 from a client computer including the <ph name="URI_SCHEME">scheme</ph>,
9390 <ph name="URI_PORT">port</ph>, and <ph name="URI_QUEUE">queue</ph>. <ph 9388 <ph name="URI_PORT">port</ph>, and <ph name="URI_QUEUE">queue</ph>. <ph
9391 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to 9389 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to
9392 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers. 9390 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers.
9393 9391
9392 <ph name="PRINTER_EFFECTIVE_MODEL">effective_model</ph> must match one of
9393 the strings which represent a <ph name="PRODUCT_NAME">$2<ex>Google Chrome
9394 OS</ex></ph> supported printer. The string will be used to identify and
9395 install the appropriate PPD for the printer. More information can be
9396 found at https://support.google.com/chrome?p=noncloudprint.
9397
9394 Printer setup is completed upon the first use of a printer. PPDs are not 9398 Printer setup is completed upon the first use of a printer. PPDs are not
9395 downloaded until the printer is used. After that time, frequently used 9399 downloaded until the printer is used. After that time, frequently used
9396 PPDs are cached. 9400 PPDs are cached.
9397 9401
9398 This policy has no effect on whether users can configure printers on 9402 This policy has no effect on whether users can configure printers on
9399 individual devices. It is intended to be supplementary to the 9403 individual devices. It is intended to be supplementary to the
9400 configuration of printers by individual users.''', 9404 configuration of printers by individual users.''',
9401 }, 9405 },
9402 { 9406 {
9403 'name': 'QuickUnlock', 9407 'name': 'QuickUnlock',
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
9742 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9746 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9743 'text': 'Default Settings (users can override)', 9747 'text': 'Default Settings (users can override)',
9744 }, 9748 },
9745 'doc_complex_policies_on_windows': { 9749 'doc_complex_policies_on_windows': {
9746 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9750 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9747 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 9751 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
9748 }, 9752 },
9749 }, 9753 },
9750 'placeholders': [], 9754 'placeholders': [],
9751 } 9755 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698