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_PASSWORD_STORE_MAC_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // Stops |thread_|. | 44 // Stops |thread_|. |
45 virtual void Shutdown() override; | 45 virtual void Shutdown() override; |
46 | 46 |
47 protected: | 47 protected: |
48 virtual ~PasswordStoreMac(); | 48 virtual ~PasswordStoreMac(); |
49 | 49 |
50 virtual scoped_refptr<base::SingleThreadTaskRunner> | 50 virtual scoped_refptr<base::SingleThreadTaskRunner> |
51 GetBackgroundTaskRunner() override; | 51 GetBackgroundTaskRunner() override; |
52 | 52 |
53 private: | 53 private: |
54 virtual void ReportMetricsImpl(const std::string& sync_username) override; | 54 virtual void ReportMetricsImpl(PasswordManagerClient* client) override; |
55 virtual password_manager::PasswordStoreChangeList AddLoginImpl( | 55 virtual password_manager::PasswordStoreChangeList AddLoginImpl( |
56 const autofill::PasswordForm& form) override; | 56 const autofill::PasswordForm& form) override; |
57 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl( | 57 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl( |
58 const autofill::PasswordForm& form) override; | 58 const autofill::PasswordForm& form) override; |
59 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl( | 59 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl( |
60 const autofill::PasswordForm& form) override; | 60 const autofill::PasswordForm& form) override; |
61 virtual password_manager::PasswordStoreChangeList | 61 virtual password_manager::PasswordStoreChangeList |
62 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin, | 62 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin, |
63 base::Time delete_end) override; | 63 base::Time delete_end) override; |
64 virtual password_manager::PasswordStoreChangeList | 64 virtual password_manager::PasswordStoreChangeList |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 scoped_ptr<crypto::AppleKeychain> keychain_; | 101 scoped_ptr<crypto::AppleKeychain> keychain_; |
102 scoped_ptr<password_manager::LoginDatabase> login_metadata_db_; | 102 scoped_ptr<password_manager::LoginDatabase> login_metadata_db_; |
103 | 103 |
104 // Thread that the synchronous methods are run on. | 104 // Thread that the synchronous methods are run on. |
105 scoped_ptr<base::Thread> thread_; | 105 scoped_ptr<base::Thread> thread_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); | 107 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); |
108 }; | 108 }; |
109 | 109 |
110 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ | 110 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ |
OLD | NEW |