Index: chrome/browser/extensions/extension_service.cc |
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
index 96e5fbff576f359e088cb9e4f2ed6823668c5b42..d8834d0fb11e70fbce8454809bc618354a46c14c 100644 |
--- a/chrome/browser/extensions/extension_service.cc |
+++ b/chrome/browser/extensions/extension_service.cc |
@@ -202,7 +202,9 @@ bool ExtensionService::OnExternalExtensionUpdateUrlFound( |
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
CHECK(crx_file::id_util::IdIsValid(id)); |
- if (Manifest::IsExternalLocation(location)) { |
+ // Don't cache kiosk apps in external cache. |
+ if (Manifest::IsExternalLocation(location) && |
+ !extensions::ExtensionsBrowserClient::Get()->IsRunningInForcedAppMode()) { |
not at google - send to devlin
2015/08/26 17:53:58
Can you write this comment in such a way that does
jennyz
2015/08/28 18:24:08
Done.
|
// All extensions that are not user specific can be cached. |
extensions::ExtensionsBrowserClient::Get()->GetExtensionCache() |
->AllowCaching(id); |