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

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: update test Created 6 years, 6 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/themes/theme_syncable_service.cc
diff --git a/chrome/browser/themes/theme_syncable_service.cc b/chrome/browser/themes/theme_syncable_service.cc
index 82550f9a517db7f183533071485e7d1e9c210bcd..fd9e892f2e4339e7b5fbc5609fcc8894791cdbfa 100644
--- a/chrome/browser/themes/theme_syncable_service.cc
+++ b/chrome/browser/themes/theme_syncable_service.cc
@@ -236,8 +236,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,
not at google - send to devlin 2014/07/02 16:18:56 (this seems like another candidate for using Insta
+ kInstalledByCustodian)) {
LOG(WARNING) << "Could not add pending extension for " << id;
return;
}

Powered by Google App Engine
This is Rietveld 408576698