OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 base::Time delete_end) override; | 54 base::Time delete_end) override; |
55 PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( | 55 PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( |
56 base::Time delete_begin, | 56 base::Time delete_begin, |
57 base::Time delete_end) override; | 57 base::Time delete_end) override; |
58 PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( | 58 PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( |
59 base::Time delete_begin, | 59 base::Time delete_begin, |
60 base::Time delete_end) override; | 60 base::Time delete_end) override; |
61 bool RemoveStatisticsCreatedBetweenImpl(base::Time delete_begin, | 61 bool RemoveStatisticsCreatedBetweenImpl(base::Time delete_begin, |
62 base::Time delete_end) override; | 62 base::Time delete_end) override; |
63 ScopedVector<autofill::PasswordForm> FillMatchingLogins( | 63 ScopedVector<autofill::PasswordForm> FillMatchingLogins( |
64 const autofill::PasswordForm& form, | 64 const autofill::PasswordForm& form) override; |
65 AuthorizationPromptPolicy prompt_policy) override; | |
66 bool FillAutofillableLogins( | 65 bool FillAutofillableLogins( |
67 ScopedVector<autofill::PasswordForm>* forms) override; | 66 ScopedVector<autofill::PasswordForm>* forms) override; |
68 bool FillBlacklistLogins( | 67 bool FillBlacklistLogins( |
69 ScopedVector<autofill::PasswordForm>* forms) override; | 68 ScopedVector<autofill::PasswordForm>* forms) override; |
70 void AddSiteStatsImpl(const InteractionsStats& stats) override; | 69 void AddSiteStatsImpl(const InteractionsStats& stats) override; |
71 void RemoveSiteStatsImpl(const GURL& origin_domain) override; | 70 void RemoveSiteStatsImpl(const GURL& origin_domain) override; |
72 std::vector<scoped_ptr<InteractionsStats>> GetSiteStatsImpl( | 71 std::vector<scoped_ptr<InteractionsStats>> GetSiteStatsImpl( |
73 const GURL& origin_domain) override; | 72 const GURL& origin_domain) override; |
74 | 73 |
75 inline bool DeleteAndRecreateDatabaseFile() { | 74 inline bool DeleteAndRecreateDatabaseFile() { |
(...skipping 13 matching lines...) Expand all Loading... |
89 // called on the DB thread in a deferred manner. If opening the DB fails, | 88 // called on the DB thread in a deferred manner. If opening the DB fails, |
90 // |login_db_| will be reset and stay NULL for the lifetime of |this|. | 89 // |login_db_| will be reset and stay NULL for the lifetime of |this|. |
91 scoped_ptr<LoginDatabase> login_db_; | 90 scoped_ptr<LoginDatabase> login_db_; |
92 | 91 |
93 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault); | 92 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault); |
94 }; | 93 }; |
95 | 94 |
96 } // namespace password_manager | 95 } // namespace password_manager |
97 | 96 |
98 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ | 97 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ |
OLD | NEW |