summaryrefslogtreecommitdiffstats
path: root/sync/engine/non_blocking_type_processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'sync/engine/non_blocking_type_processor.h')
-rw-r--r--sync/engine/non_blocking_type_processor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sync/engine/non_blocking_type_processor.h b/sync/engine/non_blocking_type_processor.h
index 2274c5d..da680f1 100644
--- a/sync/engine/non_blocking_type_processor.h
+++ b/sync/engine/non_blocking_type_processor.h
@@ -86,6 +86,15 @@ class SYNC_EXPORT_PRIVATE NonBlockingTypeProcessor : base::NonThreadSafe {
// Sends all commit requests that are due to be sent to the sync thread.
void FlushPendingCommitRequests();
+ // Clears any state related to outstanding communications with the
+ // NonBlockingTypeProcessorCore. Used when we want to disconnect from
+ // the current core.
+ void ClearTransientSyncState();
+
+ // Clears any state related to our communications with the current sync
+ // account. Useful when a user signs out of the current account.
+ void ClearSyncState();
+
ModelType type_;
DataTypeState data_type_state_;