diff options
author | bartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-21 20:10:21 +0000 |
---|---|---|
committer | bartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-21 20:10:21 +0000 |
commit | 535380a3d4c99727bd0cd197ad9d9525c2f3c983 (patch) | |
tree | 3362bb78a3afde95fc28d59230b7eef2cd9b4ee5 /chrome/browser/chromeos/settings | |
parent | c124bdbd7e9d0420046984828cc121a209d44da5 (diff) | |
download | chromium_src-535380a3d4c99727bd0cd197ad9d9525c2f3c983.zip chromium_src-535380a3d4c99727bd0cd197ad9d9525c2f3c983.tar.gz chromium_src-535380a3d4c99727bd0cd197ad9d9525c2f3c983.tar.bz2 |
Cache force-installed apps/extensions in device-local accounts
This CL adds the DeviceLocalAccountExternalPolicyLoader, a replacement for
the ExternalPolicyLoader that caches force-installed apps/extensions,
allowing them to be installed offline. The caches for individual accounts
are managed by the DeviceLocalAccountPolicyService which makes sure to
remove obsolete cache directories.
BUG=287802
TEST=Full coverage with new browser and unit tests
Review URL: https://codereview.chromium.org/27548004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/settings')
-rw-r--r-- | chrome/browser/chromeos/settings/device_settings_test_helper.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/settings/device_settings_test_helper.cc b/chrome/browser/chromeos/settings/device_settings_test_helper.cc index 04a77ea..2050364 100644 --- a/chrome/browser/chromeos/settings/device_settings_test_helper.cc +++ b/chrome/browser/chromeos/settings/device_settings_test_helper.cc @@ -63,6 +63,7 @@ void DeviceSettingsTestHelper::FlushRetrieve() { for (device_local_account_state = device_local_account_policy_.begin(); device_local_account_state != device_local_account_policy_.end(); ++device_local_account_state) { + std::vector<RetrievePolicyCallback> callbacks; callbacks.swap(device_local_account_state->second.retrieve_callbacks_); for (std::vector<RetrievePolicyCallback>::iterator cb(callbacks.begin()); cb != callbacks.end(); ++cb) { |