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

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

Issue 2054773002: Replace the WAS_INSTALLED_BY_CUSTODIAN creation flag with a pref (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing the build Created 4 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
« no previous file with comments | « chrome/browser/sync/test/integration/two_client_apps_sync_test.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 79b0e27ddb718b6b6498636c11b2cd58e23b8650..076d2d2e5fc08f1003bc39619819b06db6bd5c7a 100644
--- a/chrome/browser/themes/theme_syncable_service.cc
+++ b/chrome/browser/themes/theme_syncable_service.cc
@@ -235,14 +235,12 @@ void ThemeSyncableService::SetCurrentThemeFromThemeSpecifics(
// so by adding it as a pending extension and then triggering an
// auto-update cycle.
const bool kRemoteInstall = false;
- const bool kInstalledByCustodian = false;
if (!extensions_service->pending_extension_manager()->AddFromSync(
id,
update_url,
base::Version(),
&IsTheme,
- kRemoteInstall,
- kInstalledByCustodian)) {
+ kRemoteInstall)) {
LOG(WARNING) << "Could not add pending extension for " << id;
return;
}
« no previous file with comments | « chrome/browser/sync/test/integration/two_client_apps_sync_test.cc ('k') | extensions/common/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698