| Index: chrome/browser/password_manager/password_store_mac.h
|
| diff --git a/chrome/browser/password_manager/password_store_mac.h b/chrome/browser/password_manager/password_store_mac.h
|
| index b746c4bb003f6dd43ae1f896ec89a82ac4e172c7..36dc7b46abf2d4041ac90cba747086a684cc054e 100644
|
| --- a/chrome/browser/password_manager/password_store_mac.h
|
| +++ b/chrome/browser/password_manager/password_store_mac.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/thread.h"
|
| #include "chrome/browser/password_manager/login_database.h"
|
| #include "chrome/browser/password_manager/password_store.h"
|
| +#include "chrome/common/notification_service.h"
|
|
|
| class MacKeychain;
|
|
|
| @@ -68,12 +69,20 @@ class PasswordStoreMac : public PasswordStore {
|
| void RemoveKeychainForms(
|
| const std::vector<webkit_glue::PasswordForm*>& forms);
|
|
|
| + // Allows the creation of |notification_service_| to be scheduled on the right
|
| + // thread.
|
| + void CreateNotificationService();
|
| +
|
| scoped_ptr<MacKeychain> keychain_;
|
| scoped_ptr<LoginDatabase> login_metadata_db_;
|
|
|
| // Thread that the synchronous methods are run on.
|
| scoped_ptr<base::Thread> thread_;
|
|
|
| + // Since we aren't running on a well-known thread but still want to send out
|
| + // notifications, we need to run our own service.
|
| + scoped_ptr<NotificationService> notification_service_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac);
|
| };
|
|
|
|
|