ExtensionSyncService: Properly differentiate between "pending install" and "pending...
commitecc63c8d3df04a1608af3501250d475336705031
authortreib <treib@chromium.org>
Mon, 7 Sep 2015 16:34:47 +0000 (7 09:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 7 Sep 2015 16:35:32 +0000 (7 16:35 +0000)
tree7cec8543a8861c5a2326f807503e87e173291a13
parent7f8ffef0882a2ed9ca97d0a19d94c9e29ec8b176
ExtensionSyncService: Properly differentiate between "pending install" and "pending update".

For pending updates, store only the new version, as opposed to the whole ExtensionSyncData.

Also includes some semi-related cleanup: Make a bunch of tests use the public ExtensionSyncService interface, rather than relying on private implementation methods.

BUG=None

Review URL: https://codereview.chromium.org/1321963002

Cr-Commit-Position: refs/heads/master@{#347636}
chrome/browser/apps/ephemeral_app_browsertest.cc
chrome/browser/extensions/extension_disabled_ui_browsertest.cc
chrome/browser/extensions/extension_service_unittest.cc
chrome/browser/extensions/extension_sync_data.cc
chrome/browser/extensions/extension_sync_data.h
chrome/browser/extensions/extension_sync_service.cc
chrome/browser/extensions/extension_sync_service.h
chrome/browser/extensions/sync_bundle.cc
chrome/browser/extensions/sync_bundle.h