diff options
author | treib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-16 21:41:59 +0000 |
---|---|---|
committer | treib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-16 21:41:59 +0000 |
commit | 6338fa3cd09f1c78be2e70690c3b2a2b7756227f (patch) | |
tree | b1296060481d8c580d94279145d659d2be283b19 /chrome/browser/extensions/extension_sync_data.h | |
parent | ce9926cbd608f0e1a0d2af6f3b294925095f0793 (diff) | |
download | chromium_src-6338fa3cd09f1c78be2e70690c3b2a2b7756227f.zip chromium_src-6338fa3cd09f1c78be2e70690c3b2a2b7756227f.tar.gz chromium_src-6338fa3cd09f1c78be2e70690c3b2a2b7756227f.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/extensions/extension_sync_data.h')
-rw-r--r-- | chrome/browser/extensions/extension_sync_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
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_; |