| 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 26 matching lines...) Expand all Loading... |
| 37 LoginDatabase* login_db); | 37 LoginDatabase* login_db); |
| 38 | 38 |
| 39 // Initializes |thread_| and |notification_service_|. | 39 // Initializes |thread_| and |notification_service_|. |
| 40 virtual bool Init() OVERRIDE; | 40 virtual bool Init() OVERRIDE; |
| 41 | 41 |
| 42 virtual void ShutdownOnUIThread() OVERRIDE; | 42 virtual void ShutdownOnUIThread() OVERRIDE; |
| 43 | 43 |
| 44 protected: | 44 protected: |
| 45 virtual ~PasswordStoreMac(); | 45 virtual ~PasswordStoreMac(); |
| 46 | 46 |
| 47 virtual scoped_refptr<base::SequencedTaskRunner> | 47 virtual scoped_refptr<base::SingleThreadTaskRunner> |
| 48 GetBackgroundTaskRunner() OVERRIDE; | 48 GetBackgroundTaskRunner() OVERRIDE; |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 virtual void ReportMetricsImpl() OVERRIDE; | 51 virtual void ReportMetricsImpl() OVERRIDE; |
| 52 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE; | 52 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE; |
| 53 virtual void UpdateLoginImpl( | 53 virtual void UpdateLoginImpl( |
| 54 const autofill::PasswordForm& form) OVERRIDE; | 54 const autofill::PasswordForm& form) OVERRIDE; |
| 55 virtual void RemoveLoginImpl( | 55 virtual void RemoveLoginImpl( |
| 56 const autofill::PasswordForm& form) OVERRIDE; | 56 const autofill::PasswordForm& form) OVERRIDE; |
| 57 virtual void RemoveLoginsCreatedBetweenImpl( | 57 virtual void RemoveLoginsCreatedBetweenImpl( |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 scoped_ptr<base::Thread> thread_; | 101 scoped_ptr<base::Thread> thread_; |
| 102 | 102 |
| 103 // Since we aren't running on a well-known thread but still want to send out | 103 // Since we aren't running on a well-known thread but still want to send out |
| 104 // notifications, we need to run our own service. | 104 // notifications, we need to run our own service. |
| 105 scoped_ptr<content::NotificationService> notification_service_; | 105 scoped_ptr<content::NotificationService> notification_service_; |
| 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 |