| Index: chrome/browser/sync/profile_sync_service.h
|
| diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
|
| index 79e1a94539d7251e4750f62c46cf5fcc4492c8f8..4b94fc504a108f71439f67b76185e6d1382a3b8d 100644
|
| --- a/chrome/browser/sync/profile_sync_service.h
|
| +++ b/chrome/browser/sync/profile_sync_service.h
|
| @@ -212,13 +212,13 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
|
| sync_api::PassphraseRequiredReason reason) OVERRIDE;
|
| virtual void OnPassphraseAccepted() OVERRIDE;
|
| virtual void OnEncryptedTypesChanged(
|
| - syncable::ModelEnumSet encrypted_types,
|
| + syncable::ModelTypeSet encrypted_types,
|
| bool encrypt_everything) OVERRIDE;
|
| virtual void OnEncryptionComplete() OVERRIDE;
|
| virtual void OnMigrationNeededForTypes(
|
| - syncable::ModelEnumSet types) OVERRIDE;
|
| + syncable::ModelTypeSet types) OVERRIDE;
|
| virtual void OnDataTypesChanged(
|
| - syncable::ModelEnumSet to_add) OVERRIDE;
|
| + syncable::ModelTypeSet to_add) OVERRIDE;
|
| virtual void OnActionableError(
|
| const browser_sync::SyncProtocolError& error) OVERRIDE;
|
|
|
| @@ -242,7 +242,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
|
| // and all data types will be synced. |sync_everything| means "sync all
|
| // current and future data types."
|
| virtual void OnUserChoseDatatypes(bool sync_everything,
|
| - syncable::ModelEnumSet chosen_types);
|
| + syncable::ModelTypeSet chosen_types);
|
|
|
| // Called when a user cancels any setup dialog (login, etc).
|
| virtual void OnUserCancelledDialog();
|
| @@ -410,18 +410,18 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
|
| // the sync backend so that exactly these datatypes are actively synced. See
|
| // class comment for more on what it means for a datatype to be Preferred.
|
| virtual void ChangePreferredDataTypes(
|
| - syncable::ModelEnumSet preferred_types);
|
| + syncable::ModelTypeSet preferred_types);
|
|
|
| // Get the set of currently enabled data types (as chosen or configured by
|
| // the user). See class comment for more on what it means for a datatype
|
| // to be Preferred.
|
| - virtual syncable::ModelEnumSet GetPreferredDataTypes() const;
|
| + virtual syncable::ModelTypeSet GetPreferredDataTypes() const;
|
|
|
| // Gets the set of all data types that could be allowed (the set that
|
| // should be advertised to the user). These will typically only change
|
| // via a command-line option. See class comment for more on what it means
|
| // for a datatype to be Registered.
|
| - virtual syncable::ModelEnumSet GetRegisteredDataTypes() const;
|
| + virtual syncable::ModelTypeSet GetRegisteredDataTypes() const;
|
|
|
| // Checks whether the Cryptographer is ready to encrypt and decrypt updates
|
| // for sensitive data types. Caller must be holding a
|
| @@ -456,7 +456,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
|
|
|
| // Fills |encrypted_types| with the set of currently encrypted types. Does
|
| // not account for types pending encryption.
|
| - virtual syncable::ModelEnumSet GetEncryptedDataTypes() const;
|
| + virtual syncable::ModelTypeSet GetEncryptedDataTypes() const;
|
|
|
| // Returns true if the syncer is waiting for new datatypes to be encrypted.
|
| virtual bool encryption_pending() const;
|
| @@ -676,7 +676,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
|
|
|
| // The current set of encrypted types. Always a superset of
|
| // Cryptographer::SensitiveTypes().
|
| - syncable::ModelEnumSet encrypted_types_;
|
| + syncable::ModelTypeSet encrypted_types_;
|
|
|
| // Whether we want to encrypt everything.
|
| bool encrypt_everything_;
|
|
|