summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/sync_manager_impl.h
diff options
context:
space:
mode:
authorhaitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-26 03:37:09 +0000
committerhaitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-26 03:37:09 +0000
commitdd67d4d2bc64f51837cd7faed95ded8a967e6cd0 (patch)
tree026481c92bad74a37451339814edb05932822c0b /sync/internal_api/sync_manager_impl.h
parent8939915f067628c1fecad626dd506b0d8f2b1a0b (diff)
downloadchromium_src-dd67d4d2bc64f51837cd7faed95ded8a967e6cd0.zip
chromium_src-dd67d4d2bc64f51837cd7faed95ded8a967e6cd0.tar.gz
chromium_src-dd67d4d2bc64f51837cd7faed95ded8a967e6cd0.tar.bz2
Copy entries of broken (having unrecoverable error) data types to delete journals before purging.
BUG=121928 Review URL: https://chromiumcodereview.appspot.com/11578017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/sync_manager_impl.h')
-rw-r--r--sync/internal_api/sync_manager_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h
index 8942201..bbcf794 100644
--- a/sync/internal_api/sync_manager_impl.h
+++ b/sync/internal_api/sync_manager_impl.h
@@ -101,6 +101,7 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
virtual void ConfigureSyncer(
ConfigureReason reason,
ModelTypeSet types_to_config,
+ ModelTypeSet failed_types,
const ModelSafeRoutingInfo& new_routing_info,
const base::Closure& ready_task,
const base::Closure& retry_task) OVERRIDE;
@@ -238,7 +239,8 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
// Purge those types from |previously_enabled_types| that are no longer
// enabled in |currently_enabled_types|.
bool PurgeDisabledTypes(ModelTypeSet previously_enabled_types,
- ModelTypeSet currently_enabled_types);
+ ModelTypeSet currently_enabled_types,
+ ModelTypeSet failed_types);
void RequestNudgeForDataTypes(
const tracked_objects::Location& nudge_location,