chrome_extension_policy.proto 947 B

1234567891011121314151617181920212223242526
  1. // Copyright 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. syntax = "proto2";
  5. option optimize_for = LITE_RUNTIME;
  6. package enterprise_management;
  7. option go_package="chromium/policy/enterprise_management_proto";
  8. // Describes how to retrieve policy data for a particular extension. The
  9. // extension ID is in the |settings_entity_id| field of the PolicyData message
  10. // that contains the ExternalPolicyData in its |policy_value| field.
  11. message ExternalPolicyData {
  12. reserved 3;
  13. // A URL where the policy data can be downloaded from.
  14. optional string download_url = 1;
  15. // SHA-256 hash of the data at |download_url|. This is used to verify the
  16. // integrity of the data, and to detect updates on the client side: the client
  17. // downloads the data when its local hash does not match |secure_hash|.
  18. optional bytes secure_hash = 2;
  19. }