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

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

Issue 1236363002: ExtensionSyncService cleanup: process uninstalls in one step (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 5 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/extensions/extension_sync_service.cc ('k') | chrome/browser/extensions/sync_bundle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/pending_enables.cc
diff --git a/chrome/browser/extensions/pending_enables.cc b/chrome/browser/extensions/pending_enables.cc
index a1de94506817535067f9d5049ce4007fd31bb785..b8d1aa1759abbcbc730a957332e6e0ff1bf41d57 100644
--- a/chrome/browser/extensions/pending_enables.cc
+++ b/chrome/browser/extensions/pending_enables.cc
@@ -36,7 +36,7 @@ void PendingEnables::OnSyncStarted(ExtensionService* service) {
it != ids_.end(); ++it) {
const Extension* extension = service->GetExtensionById(*it, true);
if (extension)
- sync_bundle_->PushSyncChangeIfNeeded(*extension);
+ sync_bundle_->PushSyncAddOrUpdate(*extension);
}
ids_.clear();
}
« no previous file with comments | « chrome/browser/extensions/extension_sync_service.cc ('k') | chrome/browser/extensions/sync_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698