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

Unified Diff: chrome/browser/extensions/extension_sync_service.h

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_service.cc ('k') | chrome/browser/extensions/extension_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_sync_service.h
diff --git a/chrome/browser/extensions/extension_sync_service.h b/chrome/browser/extensions/extension_sync_service.h
index a85b109751e815e4b4f416815087aacac5caf557..88e2c3c0f0dc309d1139a638332692fbdd8af367 100644
--- a/chrome/browser/extensions/extension_sync_service.h
+++ b/chrome/browser/extensions/extension_sync_service.h
@@ -43,15 +43,7 @@ class ExtensionSyncService : public syncer::SyncableService,
// Convenience function to get the ExtensionSyncService for a BrowserContext.
static ExtensionSyncService* Get(content::BrowserContext* context);
- // Extracts the data needed to sync the uninstall of |extension|, but doesn't
- // actually sync anything now. Call |ProcessSyncUninstallExtension| later with
- // the returned SyncData to actually commit the change.
- syncer::SyncData PrepareToSyncUninstallExtension(
- const extensions::Extension& extension);
- // Commit a sync uninstall that was previously prepared with
- // PrepareToSyncUninstallExtension.
- void ProcessSyncUninstallExtension(const std::string& extension_id,
- const syncer::SyncData& sync_data);
+ void SyncUninstallExtension(const extensions::Extension& extension);
void SyncEnableExtension(const extensions::Extension& extension);
void SyncDisableExtension(const extensions::Extension& extension);
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698