#include "chrome/browser/extensions/sync_bundle.h"
#include <utility>
#include <vector>
#include "base/location.h"
#include "chrome/browser/extensions/extension_sync_data.h"
#include "chrome/browser/extensions/extension_sync_service.h"
#include "chrome/browser/extensions/extension_util.h"
#include "extensions/common/extension.h"
namespace extensions {
SyncBundle::SyncBundle() { … }
SyncBundle::~SyncBundle() { … }
void SyncBundle::StartSyncing(
std::unique_ptr<syncer::SyncChangeProcessor> sync_processor) { … }
void SyncBundle::Reset() { … }
bool SyncBundle::IsSyncing() const { … }
void SyncBundle::PushSyncDataMap(
const std::map<ExtensionId, syncer::SyncData>& sync_data_per_extension) { … }
void SyncBundle::PushSyncDeletion(const ExtensionId& extension_id,
const syncer::SyncData& sync_data) { … }
void SyncBundle::PushSyncAddOrUpdate(const ExtensionId& extension_id,
const syncer::SyncData& sync_data) { … }
void SyncBundle::ApplySyncData(const ExtensionSyncData& extension_sync_data) { … }
bool SyncBundle::HasPendingExtensionData(const ExtensionId& id) const { … }
void SyncBundle::AddPendingExtensionData(
const ExtensionSyncData& extension_sync_data) { … }
std::vector<ExtensionSyncData> SyncBundle::GetPendingExtensionData() const { … }
syncer::SyncChange SyncBundle::CreateSyncChange(
const ExtensionId& extension_id,
const syncer::SyncData& sync_data) const { … }
void SyncBundle::PushSyncChanges(
const syncer::SyncChangeList& sync_change_list) { … }
void SyncBundle::AddSyncedExtension(const ExtensionId& id) { … }
void SyncBundle::RemoveSyncedExtension(const ExtensionId& id) { … }
bool SyncBundle::HasSyncedExtension(const ExtensionId& id) const { … }
}