Index: components/password_manager/core/browser/password_syncable_service.h |
diff --git a/components/password_manager/core/browser/password_syncable_service.h b/components/password_manager/core/browser/password_syncable_service.h |
index e9879852aeeeeb5b933e6bda98ca87b86f1ba04c..c99ce92b3b42f78e907c49a091ee88cf4a757fbd 100644 |
--- a/components/password_manager/core/browser/password_syncable_service.h |
+++ b/components/password_manager/core/browser/password_syncable_service.h |
@@ -55,6 +55,11 @@ class PasswordSyncableService : public syncer::SyncableService, |
// Notifies sync of changes to the password database. |
void ActOnPasswordStoreChanges(const PasswordStoreChangeList& changes); |
+ // Provides a StartSyncFlare to the SyncableService. See |
+ // sync_start_util for more. |
+ void InjectStartSyncFlare( |
+ const syncer::SyncableService::StartSyncFlare& flare); |
+ |
private: |
typedef std::vector<autofill::PasswordForm*> PasswordForms; |
// Map from password sync tag to password form. |
@@ -102,7 +107,13 @@ class PasswordSyncableService : public syncer::SyncableService, |
// The password store that adds/updates/deletes password entries. |
PasswordStore* const password_store_; |
+ // A signal to start sync as soon as possible. |
+ syncer::SyncableService::StartSyncFlare flare_; |
+ |
+ // True if processing sync changes is in progress. |
bool is_processing_sync_changes_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(PasswordSyncableService); |
}; |
// Converts the |password| into a SyncData object. |