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

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: Created 6 years, 8 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 671a01fb569646e9d64732de0ca7937d5d76931c..6cea8f9eaabcde90de5ef9822b68baa6bac9f927 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