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

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

Issue 264763002: Support remote installation of extensions and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 7 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 fe140519e2bfe540438366ab3a7882d2a88ec00f..82550f9a517db7f183533071485e7d1e9c210bcd 100644
--- a/chrome/browser/themes/theme_syncable_service.cc
+++ b/chrome/browser/themes/theme_syncable_service.cc
@@ -235,8 +235,9 @@ void ThemeSyncableService::SetCurrentThemeFromThemeSpecifics(
// so by adding it as a pending extension and then triggering an
// auto-update cycle.
const bool kInstallSilently = true;
+ const bool kRemoteInstall = false;
if (!extensions_service->pending_extension_manager()->AddFromSync(
- id, update_url, &IsTheme, kInstallSilently)) {
+ id, update_url, &IsTheme, kInstallSilently, kRemoteInstall)) {
LOG(WARNING) << "Could not add pending extension for " << id;
return;
}

Powered by Google App Engine
This is Rietveld 408576698