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

Unified Diff: chrome/browser/themes/theme_syncable_service.cc

Issue 353493002: Apps&Extensions for supervised users: Add Extension::WAS_INSTALLED_BY_CUSTODIAN flag and proto entry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_service.cc ('k') | extensions/common/extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_syncable_service.cc
diff --git a/chrome/browser/themes/theme_syncable_service.cc b/chrome/browser/themes/theme_syncable_service.cc
index 4e2cd69e92a4ad1bcb53ca3a46073d8e680cfc8c..ebe18fcc526e70b0d2f7e2129bba9ebd09e6bfb7 100644
--- a/chrome/browser/themes/theme_syncable_service.cc
+++ b/chrome/browser/themes/theme_syncable_service.cc
@@ -229,8 +229,14 @@ void ThemeSyncableService::SetCurrentThemeFromThemeSpecifics(
// auto-update cycle.
const bool kInstallSilently = true;
const bool kRemoteInstall = false;
+ const bool kInstalledByCustodian = false;
if (!extensions_service->pending_extension_manager()->AddFromSync(
- id, update_url, &IsTheme, kInstallSilently, kRemoteInstall)) {
+ id,
+ update_url,
+ &IsTheme,
+ kInstallSilently,
+ kRemoteInstall,
+ kInstalledByCustodian)) {
LOG(WARNING) << "Could not add pending extension for " << id;
return;
}
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_service.cc ('k') | extensions/common/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698