// Declare the actual function pointers that we'll use in client code.
#define GNOME_KEYRING_DECLARE_POINTER(name) \
- static typeof(&::gnome_keyring_##name) gnome_keyring_##name;
+ static decltype(&::gnome_keyring_##name) gnome_keyring_##name;
GNOME_KEYRING_FOR_EACH_FUNC(GNOME_KEYRING_DECLARE_POINTER)
#undef GNOME_KEYRING_DECLARE_POINTER
public:
explicit NativeBackendGnome(LocalProfileId id);
- virtual ~NativeBackendGnome();
+ ~NativeBackendGnome() override;
- virtual bool Init() OVERRIDE;
+ bool Init() override;
// Implements NativeBackend interface.
- virtual password_manager::PasswordStoreChangeList AddLogin(
- const autofill::PasswordForm& form) OVERRIDE;
- virtual bool UpdateLogin(
- const autofill::PasswordForm& form,
- password_manager::PasswordStoreChangeList* changes) OVERRIDE;
- virtual bool RemoveLogin(const autofill::PasswordForm& form) OVERRIDE;
- virtual bool RemoveLoginsCreatedBetween(
+ password_manager::PasswordStoreChangeList AddLogin(
+ const autofill::PasswordForm& form) override;
+ bool UpdateLogin(const autofill::PasswordForm& form,
+ password_manager::PasswordStoreChangeList* changes) override;
+ bool RemoveLogin(const autofill::PasswordForm& form) override;
+ bool RemoveLoginsCreatedBetween(
base::Time delete_begin,
base::Time delete_end,
- password_manager::PasswordStoreChangeList* changes) OVERRIDE;
- virtual bool RemoveLoginsSyncedBetween(
+ password_manager::PasswordStoreChangeList* changes) override;
+ bool RemoveLoginsSyncedBetween(
base::Time delete_begin,
base::Time delete_end,
- password_manager::PasswordStoreChangeList* changes) OVERRIDE;
- virtual bool GetLogins(const autofill::PasswordForm& form,
- PasswordFormList* forms) OVERRIDE;
- virtual bool GetAutofillableLogins(PasswordFormList* forms) OVERRIDE;
- virtual bool GetBlacklistLogins(PasswordFormList* forms) OVERRIDE;
+ password_manager::PasswordStoreChangeList* changes) override;
+ bool GetLogins(const autofill::PasswordForm& form,
+ PasswordFormList* forms) override;
+ bool GetAutofillableLogins(PasswordFormList* forms) override;
+ bool GetBlacklistLogins(PasswordFormList* forms) override;
private:
enum TimestampToCompare {