From 6338fa3cd09f1c78be2e70690c3b2a2b7756227f Mon Sep 17 00:00:00 2001 From: "treib@chromium.org" Date: Wed, 16 Jul 2014 21:41:59 +0000 Subject: Apps&Extensions for supervised users: Add Extension::WAS_INSTALLED_BY_CUSTODIAN flag and proto entry. Currently, supervised users can not use Apps/Extensions at all. In the future, their custodian will be able to remotely install Apps/Extensions for them. This CL introduces a new extension flag and corresponding proto entry that marks these extensions, so we can allow only those in the client. Relevant design doc section: https://docs.google.com/a/google.com/document/d/1rqahhrErR_HiZ04v-Skb_kvXeyOfnTvBPFvKwAxuf10/edit#heading=h.ptivtbjwlda5 BUG=390520 Review URL: https://codereview.chromium.org/353493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283522 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_sync_data.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser/extensions/extension_sync_data.h') diff --git a/chrome/browser/extensions/extension_sync_data.h b/chrome/browser/extensions/extension_sync_data.h index 9165e75..1e924dd 100644 --- a/chrome/browser/extensions/extension_sync_data.h +++ b/chrome/browser/extensions/extension_sync_data.h @@ -58,6 +58,7 @@ class ExtensionSyncData { bool enabled() const { return enabled_; } bool incognito_enabled() const { return incognito_enabled_; } bool remote_install() const { return remote_install_; } + bool installed_by_custodian() const { return installed_by_custodian_; } // Version-dependent properties (i.e., should be used only when the // version of the currenty-installed extension matches |version|). @@ -75,6 +76,7 @@ class ExtensionSyncData { bool enabled_; bool incognito_enabled_; bool remote_install_; + bool installed_by_custodian_; Version version_; GURL update_url_; std::string name_; -- cgit v1.1