| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 base::Time delete_begin, | 50 base::Time delete_begin, |
| 51 base::Time delete_end, | 51 base::Time delete_end, |
| 52 password_manager::PasswordStoreChangeList* changes) override; | 52 password_manager::PasswordStoreChangeList* changes) override; |
| 53 bool RemoveLoginsSyncedBetween( | 53 bool RemoveLoginsSyncedBetween( |
| 54 base::Time delete_begin, | 54 base::Time delete_begin, |
| 55 base::Time delete_end, | 55 base::Time delete_end, |
| 56 password_manager::PasswordStoreChangeList* changes) override; | 56 password_manager::PasswordStoreChangeList* changes) override; |
| 57 bool DisableAutoSignInForOrigins( | 57 bool DisableAutoSignInForOrigins( |
| 58 const base::Callback<bool(const GURL&)>& origin_filter, | 58 const base::Callback<bool(const GURL&)>& origin_filter, |
| 59 password_manager::PasswordStoreChangeList* changes) override; | 59 password_manager::PasswordStoreChangeList* changes) override; |
| 60 bool GetLogins(const autofill::PasswordForm& form, | 60 bool GetLogins(const password_manager::PasswordStore::FormDigest& form, |
| 61 ScopedVector<autofill::PasswordForm>* forms) override; | 61 ScopedVector<autofill::PasswordForm>* forms) override; |
| 62 bool GetAutofillableLogins( | 62 bool GetAutofillableLogins( |
| 63 ScopedVector<autofill::PasswordForm>* forms) override; | 63 ScopedVector<autofill::PasswordForm>* forms) override; |
| 64 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 64 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
| 65 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 65 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
| 66 | 66 |
| 67 protected: | 67 protected: |
| 68 // Invalid handle returned by WalletHandle(). | 68 // Invalid handle returned by WalletHandle(). |
| 69 static const int kInvalidKWalletHandle = -1; | 69 static const int kInvalidKWalletHandle = -1; |
| 70 | 70 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 // The name of the wallet we've opened. Set during Init(). | 147 // The name of the wallet we've opened. Set during Init(). |
| 148 std::string wallet_name_; | 148 std::string wallet_name_; |
| 149 // The application name (e.g. "Chromium"), shown in KWallet auth dialogs. | 149 // The application name (e.g. "Chromium"), shown in KWallet auth dialogs. |
| 150 const std::string app_name_; | 150 const std::string app_name_; |
| 151 | 151 |
| 152 DISALLOW_COPY_AND_ASSIGN(NativeBackendKWallet); | 152 DISALLOW_COPY_AND_ASSIGN(NativeBackendKWallet); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ | 155 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ |
| OLD | NEW |