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

Unified Diff: chrome/browser/extensions/unpacked_installer.cc

Issue 10977048: Fix bug in disabling sync for default apps (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix browser and integration tests, which got broken Created 8 years, 2 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/extensions/unpacked_installer.cc
diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc
index 298d3ba6f66e892f32973beea26d5ba1defe3cc9..17c738af73e084b95dabe176e7ce639f911ccff0 100644
--- a/chrome/browser/extensions/unpacked_installer.cc
+++ b/chrome/browser/extensions/unpacked_installer.cc
@@ -70,7 +70,6 @@ void SimpleExtensionLoadPrompt::InstallUIProceed() {
perms_updater.GrantActivePermissions(extension_, false);
service_weak_->OnExtensionInstalled(
extension_,
- false, // Not from web store.
syncer::StringOrdinal(),
false /* no requirement errors */);
}
@@ -262,7 +261,6 @@ void UnpackedInstaller::OnLoaded() {
PermissionsUpdater perms_updater(service_weak_->profile());
perms_updater.GrantActivePermissions(extension_, false);
service_weak_->OnExtensionInstalled(extension_,
- false, // Not from web store.
syncer::StringOrdinal(),
false /* no requirement errors */);
}

Powered by Google App Engine
This is Rietveld 408576698