Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6867)

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 1301323005: Implement kiosk multiple apps feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698